[FIX] View error when installing direct debit module

This commit is contained in:
Stefan Rijnhart
2013-07-24 23:17:51 +02:00
parent 5190d28459
commit 2cf8b07d2d

View File

@@ -32,13 +32,13 @@
<field name="reference" position="after">
<field name="payment_order_type"/>
</field>
<xpath expr="/form/group/button[@string='Select Invoices to Pay']"
<xpath expr="//button[@string='Select Invoices to Pay']"
position="attributes">
<attribute name="attrs">
{'invisible':['|',('state','!=','draft'),('payment_order_type', '!=', 'payment')]}
</attribute>
</xpath>
<xpath expr="/form/group/button[@string='Select Invoices to Pay']"
<xpath expr="//button[@string='Select Invoices to Pay']"
position="after">
<button colspan="2" name="%(account_payment.action_create_payment_order)s"
string="Select Invoices to Collect" type="action"