Files
account-reconcile/account_partner_reconcile/views/res_partner_view.xml
Jordi Ballester Alomar eaa5e2ba28 [IMP] account_partner_reconcile: splits the button 'Match payments'
Splits the button 'Match payments' to 'Match Receivables' and 'Match Payables', as the previous button was just now working.
2019-05-28 10:27:05 +02:00

29 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--Copyright 2017-19 Eficent Business and IT Consulting Services S.L.-->
<!--(http://www.eficent.com)-->
<!--License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).-->
<record id="res_partner_view_buttons" model="ir.ui.view">
<field name="name">res.partner.view.buttons</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="priority" eval="20"/>
<field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" type="object"
name="action_open_reconcile"
context="{'reconcile_mode': 'customers'}"
icon="fa-usd" string="Match Receivables">
</button>
<button class="oe_stat_button" type="object"
name="action_open_reconcile"
context="{'reconcile_mode': 'suppliers'}"
icon="fa-usd" string="Match Payables">
</button>
</div>
</field>
</record>
</odoo>