← Back to team overview

banking-addons-team team mailing list archive

[Merge] lp:~therp-nl/banking-addons/ba70-fix_journal_account_attrs into lp:banking-addons

 

Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/banking-addons/ba70-fix_journal_account_attrs into lp:banking-addons.

Requested reviews:
  Banking Addons Core Editors (banking-addons-team)

For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/ba70-fix_journal_account_attrs/+merge/211271
-- 
https://code.launchpad.net/~therp-nl/banking-addons/ba70-fix_journal_account_attrs/+merge/211271
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/banking-addons/ba70-fix_journal_account_attrs into lp:banking-addons.
=== modified file 'account_banking/account_banking_view.xml'
--- account_banking/account_banking_view.xml	2014-03-15 16:07:00 +0000
+++ account_banking/account_banking_view.xml	2014-03-17 09:44:09 +0000
@@ -250,7 +250,7 @@
                     </xpath>
                     <xpath expr="//field[@name='line_ids']/tree//field[@name='account_id']"
                            position="attributes">
-                       <attribute name="attrs">{'readonly': ['|', ('state', '!=', 'draft'), ('match_type', '!=', '')]}</attribute>
+                       <attribute name="attrs">{'readonly': ['|', ('state', '!=', 'draft'), ('match_type', '!=', False)]}</attribute>
                     </xpath>
                     <xpath expr="//field[@name='line_ids']/tree/field[@name='amount']"
                            position="after">