Odoo modules related to events management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

32 lines
1.3 KiB

<?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>