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

34 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
© 2013-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<flectra>
<record id="mandate_partner_bank_form" model="ir.ui.view">
<field name="name">mandate.res.partner.bank.form</field>
<field name="model">res.partner.bank</field>
<field name="inherit_id" ref="base.view_partner_bank_form" />
<field name="arch" type="xml">
<xpath expr="//form/sheet/group" position="inside">
<group name="mandates" string="Direct Debit Mandates">
<field
name="mandate_ids"
context="{'mandate_bank_partner_view': True}"
nolabel="1"
/>
</group>
</xpath>
</field>
</record>
<record id="mandate_partner_bank_tree" model="ir.ui.view">
<field name="name">mandate.res.partner.bank.tree</field>
<field name="model">res.partner.bank</field>
<field name="inherit_id" ref="base.view_partner_bank_tree" />
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="mandate_ids" string="Mandates" />
</field>
</field>
</record>
</flectra>