bank-payment/account_payment_partner/views/account_payment_mode.xml
2021-03-12 17:21:19 +01:00

28 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<flectra>
<record id="account_payment_mode_form" model="ir.ui.view">
<field name="model">account.payment.mode</field>
<field name="inherit_id" ref="account_payment_mode.account_payment_mode_form" />
<field name="arch" type="xml">
<group name="note" position="before">
<group string="Show bank account in invoice report">
<group>
<field name="show_bank_account" />
<field
name="show_bank_account_from_journal"
attrs="{'invisible': [('show_bank_account', '=', 'no')]}"
/>
<field
name="show_bank_account_chars"
string="# of chars"
attrs="{'invisible': [('show_bank_account', 'not in', ['first', 'last'])]}"
/>
</group>
</group>
</group>
</field>
</record>
</flectra>