Skip to content

Commit

Permalink
[UPG] viin_brand_payment_paypal: upgrade to v17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
trungtuan88 committed Jul 12, 2024
1 parent 31bd9f4 commit 8d9d4fd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
7 changes: 4 additions & 3 deletions viin_brand_payment_authorize/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

'author': "Viindoo",
'website': "https://viindoo.com",
'live_test_url': "https://v16demo-int.viindoo.com",
'live_test_url_vi_VN': "https://v16demo-vn.viindoo.com",
'live_test_url': "https://v17demo-int.viindoo.com",
'live_test_url_vi_VN': "https://v17demo-vn.viindoo.com",
'support': "[email protected]",

# Categories can be used to filter modules in modules listing
Expand All @@ -53,7 +53,8 @@
'data': [
'views/payment_views.xml',
],
'installable': False, # set auto_install True after upgrading for v17 after upgrading for v17
'installable': True,
'auto_install': True,
'currency': 'EUR',
'license': 'OPL-1',
}
7 changes: 5 additions & 2 deletions viin_brand_payment_authorize/views/payment_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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']"
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>
</xpath>
</field>
</record>
</odoo>
7 changes: 4 additions & 3 deletions viin_brand_payment_paypal/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

'author': "Viindoo",
'website': "https://viindoo.com",
'live_test_url': "https://v16demo-int.viindoo.com",
'live_test_url_vi_VN': "https://v16demo-vn.viindoo.com",
'live_test_url': "https://v17demo-int.viindoo.com",
'live_test_url_vi_VN': "https://v17demo-vn.viindoo.com",
'support': "[email protected]",

# Categories can be used to filter modules in modules listing
Expand All @@ -53,7 +53,8 @@
'data': [
'views/payment_views.xml',
],
'installable': False, # set auto_install True after upgrading for v17 after upgrading for v17
'installable': True,
'auto_install': True,
'price': 0.0,
'currency': 'EUR',
'license': 'OPL-1',
Expand Down
2 changes: 1 addition & 1 deletion viin_brand_payment_paypal/views/payment_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment_paypal.payment_provider_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='provider_credentials']/group/a"
<xpath expr="//group[@name='provider_credentials']/group/a[@href='https://www.odoo.com/documentation/17.0/applications/finance/payment_providers/paypal.html']"
position='attributes'>
<attribute name="href">https://viindoo.com/documentation/16.0/applications/finance/accounting-and-invoicing/account-receivables/customer-payments/how-to-make-a-payment-with-paypal.html#pay-with-paypal</attribute>
</xpath>
Expand Down

0 comments on commit 8d9d4fd

Please sign in to comment.