Files
odoo_source/addons/website_payment/views/payment_provider.xml
T
Valentin Chevalier a12257d470 [FIX] website_payment: fix website_id position in form view
Fine-tuning of 0501bbd62e.

Now that `company_id` is present in the header, the XPath of the
provider form view defined in the `website_payment` module puts the
field `website_id` in the wrong place.

This commit moves the field where it belongs.

Part-of: odoo/odoo#99846
2022-09-09 18:53:53 +02:00

18 lines
649 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="payment_provider_form" model="ir.ui.view">
<field name="name">provider.form.inherit.website</field>
<field name="model">payment.provider</field>
<field name="inherit_id" ref="payment.payment_provider_form"/>
<field name="arch" type="xml">
<group name="payment_state" position='inside'>
<field name="website_id" options="{'no_open': True, 'no_create_edit': True}" groups="website.group_multi_website"/>
</group>
</field>
</record>
</data>
</odoo>