[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.

This commit is contained in:
Christophe Matthieu 2014-09-19 12:30:57 +02:00
parent 130873f0f6
commit 92d8f15a18
1 changed files with 2 additions and 2 deletions

View File

@ -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">