bank-payment/account_banking_mandate_sale/views/sale_order.xml

25 lines
861 B
XML
Raw Permalink Normal View History

2021-11-07 03:11:01 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<!--
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<flectra>
<record id="view_order_form" model="ir.ui.view">
<field name="name">account_banking_mandate_sale.sale_order.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="account_payment_sale.view_order_form" />
<field name="arch" type="xml">
<field name="fiscal_position_id" position="after">
<field name="commercial_partner_id" invisible="1" />
<field
name="mandate_id"
attrs="{'invisible': [('mandate_required', '=', False)]}"
/>
<field name="mandate_required" invisible="1" />
</field>
</field>
</record>
</flectra>