-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: 17.0
Are you sure you want to change the base?
[UPG][17.0] viin_brand_payment_paypal, viin_brand_payment_authorize: upgrade to v17.0 #505
Conversation
8882b0b
to
8196ebe
Compare
@trungtuan88 Viindoo Test Suite has failed! |
8196ebe
to
c5f1859
Compare
c5f1859
to
8d9d4fd
Compare
<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> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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>
@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']" |
There was a problem hiding this comment.
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
<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 != 'authorize'']/a" |
There was a problem hiding this comment.
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
8d9d4fd
to
420b56d
Compare
@trungtuan88 Viindoo Test Suite has failed! |
420b56d
to
5497b91
Compare
@trungtuan88 Viindoo Test Suite has passed! |
Task: viin_brand_payment_paypal
Task: viin_brand_payment_authorize
simplescreenrecorder-2024-07-12_14.07.33.mp4