初始提交
This commit is contained in:
25
account_accountant/views/account_payment_views.xml
Normal file
25
account_accountant/views/account_payment_views.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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_user</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='partner_bank_id'][last()]" position="after">
|
||||
<field name="transaction_uuid" groups="base.group_no_one"/>
|
||||
</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="attach_money"
|
||||
groups="account.group_account_user"
|
||||
invisible="is_reconciled or not move_id or state not in ('reconciled', 'paid')"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user