[FIX] account: the 'Customer taxes' field on the product is readonly when my product doesn't have any variant
This commit is contained in:
parent
a5f7891b68
commit
f478e0557b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue