l10n-switzerland-flectra/account_banking_pain_base/views/account_payment_method.xml

34 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<flectra>
<record id="account_payment_method_form" model="ir.ui.view">
<field name="name">pain_base.account_payment_method.form</field>
<field name="model">account.payment.method</field>
<field
name="inherit_id"
ref="account_payment_mode.account_payment_method_form"
/>
<field name="arch" type="xml">
<field name="payment_type" position="after">
<field name="pain_version" />
<field
name="convert_to_ascii"
attrs="{'invisible': [('pain_version', '=', False)]}"
/>
</field>
</field>
</record>
<record id="account_payment_method_tree" model="ir.ui.view">
<field name="name">pain_base.account_payment_method.tree</field>
<field name="model">account.payment.method</field>
<field
name="inherit_id"
ref="account_payment_mode.account_payment_method_tree"
/>
<field name="arch" type="xml">
<field name="payment_type" position="after">
<field name="pain_version" />
</field>
</field>
</record>
</flectra>