mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
26 lines
962 B
XML
26 lines
962 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<!-- Make buttons on payment order sensitive for extra states,
|
|
restore wizard functionality when making payments
|
|
-->
|
|
|
|
<record id="view_banking_payment_order_form_1" model="ir.ui.view">
|
|
<field name="name">account.payment.order.form.banking-1</field>
|
|
<field name="inherit_id" ref="account_payment.view_payment_order_form" />
|
|
<field name="model">payment.order</field>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<xpath expr="//button[@string='Select Invoices to Pay']"
|
|
position="attributes">
|
|
<attribute name="attrs">{
|
|
'invisible':[('state','!=','draft')]
|
|
}</attribute>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|