[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.
This commit is contained in:
parent
130873f0f6
commit
92d8f15a18
|
@ -77,8 +77,8 @@
|
|||
</group>
|
||||
<group>
|
||||
<field name="active"/>
|
||||
<field name="ean13"/>
|
||||
<field name="default_code"/>
|
||||
<field name="ean13" attrs="{'invisible': [('is_product_variant', '=', False), ('product_variant_count', '!=', 1)]}"/>
|
||||
<field name="default_code" attrs="{'invisible': [('is_product_variant', '=', False), ('product_variant_count', '!=', 1)]}"/>
|
||||
</group>
|
||||
</group>
|
||||
<group colspan="4">
|
||||
|
|
Loading…
Reference in New Issue