fix the condition

This commit is contained in:
Ruchir Shukla
2014-01-27 14:02:22 +05:30
parent 7d28a6e524
commit feef47f342

View File

@@ -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', 'in', ('move', 'payment'))]}</attribute>
<attribute name="attrs">{'readonly': ['|', ('state', '!=', 'draft'), ('match_type', '!=', '')]}</attribute>
</xpath>
<xpath expr="//field[@name='line_ids']/tree/field[@name='amount']"
position="after">