Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPG][17.0] viin_brand_payment_paypal, viin_brand_payment_authorize: upgrade to v17.0 #505

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

trungtuan88
Copy link
Contributor

@trungtuan88 trungtuan88 commented Jul 11, 2024

Task: viin_brand_payment_paypal

Task: viin_brand_payment_authorize

simplescreenrecorder-2024-07-12_14.07.33.mp4

@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script and removed 🚀 Queue PR/Commit is added in build queue labels Jul 11, 2024
@trungtuan88 trungtuan88 force-pushed the v17_upg_viin_brand_payment_paypal branch from 8882b0b to 8196ebe Compare July 11, 2024 08:31
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed 🚀 Building PR/Commit is start building all step in script labels Jul 11, 2024
@trungtuan88 trungtuan88 changed the title [UPG][17.0] viin_brand_payment_paypal: upgrade to v17.0 [UPG][17.0] viin_brand_payment_paypal, viin_brand_payment_authorize: upgrade to v17.0 Jul 11, 2024
@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 11, 2024
@viinbot
Copy link
Contributor

viinbot commented Jul 11, 2024

@trungtuan88 Viindoo Test Suite has failed!

@trungtuan88 trungtuan88 force-pushed the v17_upg_viin_brand_payment_paypal branch from 8196ebe to c5f1859 Compare July 12, 2024 07:09
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script and removed ⚠️ Failed PR/Commit is failed when run script 🚀 Queue PR/Commit is added in build queue labels Jul 12, 2024
@trungtuan88 trungtuan88 force-pushed the v17_upg_viin_brand_payment_paypal branch from c5f1859 to 8d9d4fd Compare July 12, 2024 07:22
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed 🚀 Building PR/Commit is start building all step in script labels Jul 12, 2024
Comment on lines 7 to 11
<xpath expr="//group[@name='provider_credentials']/group/a" position='attributes'>
<xpath expr="//group[@name='provider_credentials']/group/a[@href='https://www.odoo.com/documentation/17.0/applications/finance/payment_providers/authorize.html']"
position='attributes'>
<!-- Todo: Wait for the consulting department to add the link -->
<attribute name="href">https://viindoo.com/documentation/16.0/applications/finance/accounting-and-invoicing/account-receivables/customer-payments/how-to-make-a-payment-with-authorize-net.html</attribute>
</xpath>
<attribute name="style">display: none;</attribute>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Hiện tại link này nhà mình đã xóa đi vì chưa có bài viết. vì vậy a tạm thời ẩn link đi.
  • Đường dẫn xpath kia cần tìm đến link cụ thể bởi vì nều để code gốc nếu mà cài 2 phương thức thanh toán lên thì phương thức nào cài sau sẽ ko xpath được

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trungtuan88 anh xem lại chỗ này: chưa có thì thôi không xpath nữa, có bài từ 16 rồi thì để 16 và không ẩn nó, vì sau này thay sang bài 17 thì dùng tools thay, sẽ không biết là phải xóa cái dòng <attribute name="style">display: none;</attribute>

@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 12, 2024
@viinbot
Copy link
Contributor

viinbot commented Jul 12, 2024

@trungtuan88 Viindoo Test Suite has failed!

@@ -4,9 +4,12 @@
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment_authorize.payment_provider_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='provider_credentials']/group/a" position='attributes'>
<xpath expr="//group[@name='provider_credentials']/group/a[@href='https://www.odoo.com/documentation/17.0/applications/finance/payment_providers/authorize.html']"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trungtuan88 anh làm theo cách này nhé, tránh khớp tuyệt đối link, vì Odoo đổi link thì sẽ lỗi

Suggested change
<xpath expr="//group[@name='provider_credentials']/group/a[@href='https://www.odoo.com/documentation/17.0/applications/finance/payment_providers/authorize.html']"
<xpath expr="//group[@name='provider_credentials']/group[@invisible='code != &#39;authorize&#39;']/a"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trungtuan88 tương tự với module paypal

@trungtuan88 trungtuan88 force-pushed the v17_upg_viin_brand_payment_paypal branch from 8d9d4fd to 420b56d Compare July 18, 2024 03:41
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue and removed ⚠️ Failed PR/Commit is failed when run script labels Jul 18, 2024
@viinbot viinbot added 🚀 Building PR/Commit is start building all step in script ⚠️ Failed PR/Commit is failed when run script and removed 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 18, 2024
@viinbot
Copy link
Contributor

viinbot commented Jul 18, 2024

@trungtuan88 Viindoo Test Suite has failed!

@trungtuan88 trungtuan88 force-pushed the v17_upg_viin_brand_payment_paypal branch from 420b56d to 5497b91 Compare July 18, 2024 04:28
@viinbot viinbot added 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script 🚀 Running PR/Commit is done for everything and ready for manually test and removed ⚠️ Failed PR/Commit is failed when run script 🚀 Queue PR/Commit is added in build queue 🚀 Building PR/Commit is start building all step in script labels Jul 18, 2024
@viinbot
Copy link
Contributor

viinbot commented Jul 18, 2024

@trungtuan88 Viindoo Test Suite has passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Running PR/Commit is done for everything and ready for manually test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants