mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MIG] Forward port of lp:account-banking/6.1, rev. 165
[FIX] be less intrusive when adapting button's attrs, thereby preserving the fix for lp:1172293 in ocb-addons
This commit is contained in:
@@ -13,12 +13,8 @@
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="/form/group/button[@string='Select Invoices to Pay']"
|
||||
position="replace">
|
||||
<button colspan="2" name="%(account_payment.action_create_payment_order)s"
|
||||
string="Select Invoices to Pay" type="action"
|
||||
attrs="{'invisible':[('state','!=','draft')]}"
|
||||
icon="gtk-find"
|
||||
/>
|
||||
position="attributes">
|
||||
<attribute name="attrs">{'invisible':[('state','!=','draft')]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="/form/group/button[@string='Make Payments']"
|
||||
position="replace">
|
||||
|
||||
Reference in New Issue
Block a user