Files
bank-payment/account_banking_payment_export/views/account_payment.xml
Alexis de Lattre 1a90364d0f Transfer move: one transfer move for each payment.order with only 1 line in the transfer account for the total of the account move.
Move the inherit of the 'Invoice' button of payment.order from account_banking_payment_transfer to account_banking_payment_export
Demo data: Add a bank account + mandate on Agrolait, to be able to easily test multi-partner SEPA DD
2015-01-06 15:29:40 +01:00

28 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- 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">
<xpath expr="//button[@string='Make Payments']"
position="attributes">
<attribute name="name">launch_wizard</attribute>
</xpath>
<field name="mode" position="after">
<field name="mode_type" invisible="1"/>
</field>
<xpath expr="//button[@string='Invoices']" position="attributes">
<attribute name="attrs">{
'invisible': [('state', '!=', 'draft')]}</attribute>
</xpath>
</field>
</record>
</data>
</openerp>