*: extensions of `adyen_platforms`, namely: - pos_adyen: remove related code, records, views, ... - payment_odoo: remove the module - sale_payment_odoo: remove the module Modules related to Odoo Payments are already all merged since 14.0 and 14.4 (depending on the module). As the plan is to merge the final version of Odoo Payments in 15.0 soon after the release, we want to avoid all the complications that inevitably come with huge diffs, model changes, XMLID collisions, etc. when merging in a stable version. Even though it is possible to install these modules since 14.0, no information could be lost during the upgrade since the entry point of the application has never been activated. task-2637770 closes odoo/odoo#75852 Related: odoo/upgrade#2804 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Co-authored-by: Antoine Vandevenne (anv)
17 lines
1.0 KiB
XML
17 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="pos_payment_method_view_form_inherit_pos_adyen" model="ir.ui.view">
|
|
<field name="name">pos.payment.method.form.inherit.adyen</field>
|
|
<field name="model">pos.payment.method</field>
|
|
<field name="inherit_id" ref="point_of_sale.pos_payment_method_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='use_payment_terminal']" position="after">
|
|
<!-- Adyen -->
|
|
<field name="adyen_api_key" attrs="{'invisible': [('use_payment_terminal', '!=', 'adyen')], 'required': [('use_payment_terminal', '=', 'adyen')]}"/>
|
|
<field name="adyen_terminal_identifier" attrs="{'invisible': [('use_payment_terminal', '!=', 'adyen')], 'required': [('use_payment_terminal', '=', 'adyen')]}"/>
|
|
<field name="adyen_test_mode" attrs="{'invisible': [('use_payment_terminal', '!=', 'adyen')], 'required': [('use_payment_terminal', '=', 'adyen')]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|