Skip to content
Snippets Groups Projects
Commit 899f2066 authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[FIX] Adapt product variants in order to show internal code and ean13 #2772

[IMP] Typo
parent ab7b5d77
Branches
Tags
No related merge requests found
......@@ -78,8 +78,6 @@
</group>
<group>
<field name="active"/>
<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">
......@@ -239,6 +237,10 @@
<xpath expr="//form" position="attributes">
<attribute name="name">Product Template</attribute>
</xpath>
<field name="active" position="after">
<field name="ean13" attrs="{'invisible': [('product_variant_count', '!=', 1)]}"/>
<field name="default_code" attrs="{'invisible': [('product_variant_count', '!=', 1)]}"/>
</field>
<xpath expr="//page[@string='Sales']" position="after">
<page name="variants" string="Variants">
<div class="oe_right">
......@@ -341,6 +343,10 @@
<form position="attributes">
<attribute name="string">Product Variant</attribute>
</form>
<field name="active" position="after">
<field name="ean13"/>
<field name="default_code"/>
</field>
<field name="list_price" position="attributes">
<attribute name="name">lst_price</attribute>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment