before this commit when we installed website_sale and event_sale module. it will display blank hole before Events group because 'email_template_and_project' group is define in product/product_views.xml as invisible. So fix this issue by moving this group into product_template_email/product_view.xml and also rename the group as email_template because this group is not related with project. Also keep sale group empty in 'sales' page so other views updated to make compatible with new group changes. To keep groups in ordered, set the priority in view. task-2150643 closes: #41308
16 lines
630 B
XML
16 lines
630 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="event_sale_product_template_form" model="ir.ui.view">
|
|
<field name="name">product.template.event.form.inherit</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view" />
|
|
<field name="arch" type="xml">
|
|
<group name="sale" position="inside">
|
|
<group string="Events">
|
|
<field name="event_ok" />
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
</odoo>
|