clearcorp team mailing list archive
-
clearcorp team
-
Mailing list archive
-
Message #00739
[Branch ~banking-addons-team/banking-addons/6.1] Rev 165: [FIX] be less intrusive when adapting button's attrs, thereby preserving
------------------------------------------------------------
revno: 165
fixes bug: https://launchpad.net/bugs/1172293
committer: Holger Brunn <hbrunn@xxxxxxxx>
branch nick: 6.1
timestamp: Thu 2013-04-25 10:15:21 +0200
message:
[FIX] be less intrusive when adapting button's attrs, thereby preserving
the fix for lp:1172293 in ocb-addons
modified:
account_banking/account_banking_view.xml
--
lp:banking-addons
https://code.launchpad.net/~banking-addons-team/banking-addons/6.1
Your team CLEARCORP development team is subscribed to branch lp:banking-addons.
To unsubscribe from this branch go to https://code.launchpad.net/~banking-addons-team/banking-addons/6.1/+edit-subscription
=== modified file 'account_banking/account_banking_view.xml'
--- account_banking/account_banking_view.xml 2013-01-30 11:34:58 +0000
+++ account_banking/account_banking_view.xml 2013-04-25 08:15:21 +0000
@@ -342,12 +342,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">