Skip to content
Snippets Groups Projects
Commit 5209bb25 authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] mrp: remove useless layout-breaking group

* Adding a new group in a group of fields is breaking enterprise layout
* Moreover the group was useless: useless colspan, unique field with
colspan>>>col in it, double access-right, ...
parent 4e20e443
No related branches found
No related tags found
No related merge requests found
...@@ -951,15 +951,13 @@ ...@@ -951,15 +951,13 @@
<field name="inherit_id" ref="procurement.procurement_form_view"/> <field name="inherit_id" ref="procurement.procurement_form_view"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//field[@name='origin']" position="before"> <field name="origin" position="before">
<field name="bom_id" domain="[('product_id','=',product_id)]"/> <field name="bom_id" domain="[('product_id','=',product_id)]"/>
<field name="production_id" attrs="{'invisible': [('production_id','=',False)]}"/> <field name="production_id" attrs="{'invisible': [('production_id','=',False)]}"/>
</xpath> </field>
<xpath expr="//field[@name='origin']" position="after"> <field name="origin" position="after">
<group colspan="4" groups="product.group_mrp_properties"> <field name="property_ids" widget="many2many_tags" groups="product.group_mrp_properties"/>
<field colspan="4" name="property_ids" widget="many2many_tags" groups="product.group_mrp_properties"/> </field>
</group>
</xpath>
</data> </data>
</field> </field>
</record> </record>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment