|
|
@ -23,14 +23,13 @@ |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<group name="description" position="attributes"> |
|
|
|
<attribute name="string">Sale descriptions</attribute> |
|
|
|
<attribute name="attrs">{'invisible': [('product_variant_count','=',1)]}</attribute> |
|
|
|
</group> |
|
|
|
<field name="description_sale" position="attributes"> |
|
|
|
<attribute name="nolabel">0</attribute> |
|
|
|
<attribute name="string">Product</attribute> |
|
|
|
</field> |
|
|
|
<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." /> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|