[FIX] account: the 'Customer taxes' field on the product is readonly when my product doesn't have any variant

This commit is contained in:
Christophe Matthieu 2014-07-23 15:37:15 +02:00
parent a5f7891b68
commit f478e0557b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<field name="property_account_income" domain="[('type','=','other')]" groups="account.group_account_user"
attrs="{'readonly': [('is_product_variant', '=', True)]}"/>
<field name="taxes_id" colspan="2" widget="many2many_tags"
attrs="{'readonly':[ '|', ('sale_ok','=',0), ('is_product_variant', '=', True)]}"/>
attrs="{'readonly':[('sale_ok','=',0)]}"/>
</group>
<group>
<field name="property_account_expense" domain="[('type','=','other')]" groups="account.group_account_user"