Skip to content
Snippets Groups Projects
Commit fa608490 authored by Christophe Matthieu's avatar Christophe Matthieu
Browse files

Merge pull request #2550 from odoo-dev/8.0-fix-default_code-chm

[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.
parents 6021b0fe 92d8f15a
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment