You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_account_payment_form_inherit_account_accountant" model="ir.ui.view">
|
|
<field name="name">account.payment.form.inherit.account_accountant</field>
|
|
<field name="model">account.payment</field>
|
|
<field name="inherit_id" ref="account.view_account_payment_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@name='button_open_journal_entry']" position="attributes">
|
|
<attribute name="groups">account.group_account_manager</attribute>
|
|
</xpath>
|
|
|
|
<!-- Stat button to open the manual reconciliation widget -->
|
|
<xpath expr="//div[@name='button_box']" position="inside">
|
|
<button name="action_open_manual_reconciliation_widget" type="object"
|
|
string="Payment Matching" class="oe_stat_button" icon="fa-dollar"
|
|
groups="account.group_account_user"
|
|
attrs="{'invisible': ['|', ('is_reconciled', '=', True), ('state', '!=', 'posted')]}"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|