mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
Splits the button 'Match payments' to 'Match Receivables' and 'Match Payables', as the previous button was just now working.
29 lines
1.2 KiB
XML
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>
|