|
@ -23,14 +23,13 @@ |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<group name="description" position="attributes"> |
|
|
<group name="description" position="attributes"> |
|
|
<attribute name="string">Sale descriptions</attribute> |
|
|
<attribute name="string">Sale descriptions</attribute> |
|
|
<attribute name="attrs">{'invisible': [('product_variant_count','=',1)]}</attribute> |
|
|
|
|
|
</group> |
|
|
</group> |
|
|
<field name="description_sale" position="attributes"> |
|
|
<field name="description_sale" position="attributes"> |
|
|
<attribute name="nolabel">0</attribute> |
|
|
<attribute name="nolabel">0</attribute> |
|
|
<attribute name="string">Product</attribute> |
|
|
<attribute name="string">Product</attribute> |
|
|
</field> |
|
|
</field> |
|
|
<field name="description_sale" position="after"> |
|
|
<field name="description_sale" position="after"> |
|
|
<field name="variant_description_sale" string="Variant" |
|
|
|
|
|
|
|
|
<field name="variant_description_sale" string="Variant" attrs="{'invisible': [('product_variant_count','=',1)]}" |
|
|
placeholder="This note is added to sales orders and invoices for this particular variant." /> |
|
|
placeholder="This note is added to sales orders and invoices for this particular variant." /> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|
</field> |
|
|