|
|
@ -0,0 +1,32 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<odoo> |
|
|
|
|
|
|
|
<record id="product_variant_easy_edit_view_inherit" model="ir.ui.view"> |
|
|
|
<field name="name">product.product.view.form.inherit</field> |
|
|
|
<field name="model">product.product</field> |
|
|
|
<field name="inherit_id" ref="product.product_variant_easy_edit_view" /> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<group name="product_variant_images" position="after"> |
|
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
|
<field name="is_deposit" /> |
|
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="product_normal_form_view_inherit" model="ir.ui.view"> |
|
|
|
<field name="name">product.product.view.form.inherit</field> |
|
|
|
<field name="model">product.product</field> |
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view" /> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<group name="description" position="after"> |
|
|
|
<group name="event" string="Event sale" attrs="{'invisible': [('detailed_type','!=','event')]}"> |
|
|
|
<field name="is_deposit" /> |
|
|
|
<field name="balance_variant_id" options="{'no_create': 1}" /> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
</odoo> |