Files
bank-payment/account_banking_payment_transfer/view/account_payment.xml

21 lines
960 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_payment_order_form_inherit" model="ir.ui.view">
<field name="name">account.payment.order.form (account_banking_payment_transfer)</field>
<field name="model">payment.order</field>
<field name="inherit_id" ref="account_payment.view_payment_order_form" />
<field name="arch" type="xml">
<xpath expr="//button[@name='%(account_payment.action_create_payment_order)d']" position="after">
<button class="oe_inline oe_stat_button"
name="partial" type="object"
attrs="{'invisible':[('partial_reconcile_count','=',0)]}"
icon="fa-check-square-o">
<field name="partial_reconcile_count" widget="statinfo"/>
</button>
</xpath>
</field>
</record>
</data>
</openerp>