mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-12-25 22:01:44 +00:00
25 lines
994 B
XML
25 lines
994 B
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<!--
|
||
|
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||
|
-->
|
||
|
<flectra>
|
||
|
<record id="partner_view_buttons" model="ir.ui.view">
|
||
|
<field name="name">mandate.res.partner.form</field>
|
||
|
<field name="model">res.partner</field>
|
||
|
<field name="inherit_id" ref="account.view_partner_property_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//group[@name='banks']" position="inside">
|
||
|
<button
|
||
|
type="action"
|
||
|
class="btn-link"
|
||
|
name="%(account_banking_mandate.mandate_action)d"
|
||
|
context="{'search_default_partner_id': id, 'default_partner_id': id}"
|
||
|
>
|
||
|
<field string="Mandate(s)" name="mandate_count" widget="statinfo" />
|
||
|
</button>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
</flectra>
|