Merge pull request #1337 from odoo-dev/saas-5-fix-product-taxes-view-chm
[FIX] account: the 'Customer taxes' field on the product is readonly when my product doesn't have any variant
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user