|
@ -6,9 +6,12 @@ |
|
|
<field name="model">product.product</field> |
|
|
<field name="model">product.product</field> |
|
|
<field name="inherit_id" ref="product.product_variant_easy_edit_view" /> |
|
|
<field name="inherit_id" ref="product.product_variant_easy_edit_view" /> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<field name="id" position="after"> |
|
|
|
|
|
<field name="detailed_type" invisible="1" /> |
|
|
|
|
|
</field> |
|
|
<group name="product_variant_images" position="after"> |
|
|
<group name="product_variant_images" position="after"> |
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
<field name="is_deposit" /> |
|
|
|
|
|
|
|
|
<field name="is_event_deposit" /> |
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
@ -22,7 +25,7 @@ |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<group name="description" position="after"> |
|
|
<group name="description" position="after"> |
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
<field name="is_deposit" /> |
|
|
|
|
|
|
|
|
<field name="is_event_deposit" /> |
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|