mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes - account_banking_payment_export does not depend on account_banking - account_banking_payment is consequently stripped of above features - account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
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>
|
|
<!-- Communication only used for 'structured' communication -->
|
|
<xpath expr="//field[@name='line_ids']/form//field[@name='communication']"
|
|
position="attributes">
|
|
<attribute name="attrs">{
|
|
'readonly': [('state', '=', 'normal')]
|
|
}</attribute>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|