bank-payment/account_payment_partner/views/account_payment_mode.xml

31 lines
1.3 KiB
XML
Raw Normal View History

2024-05-03 08:36:50 +00:00
<?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">
<field name="variable_journal_ids" position="before">
<field name="refund_payment_mode_id" />
</field>
<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"
invisible="show_bank_account == 'no'"
/>
<field
name="show_bank_account_chars"
string="# of chars"
invisible="show_bank_account not in ['first', 'last']"
/>
</group>
</group>
</group>
</field>
</record>
</flectra>