Skip to content
Snippets Groups Projects
Unverified Commit d0cc5a53 authored by Hetashree Chauhan's avatar Hetashree Chauhan Committed by Joren Van Onder
Browse files

[IMP] mrp: simplify stock.picking.type form view for mrp_operation

parent 1bce0a39
No related branches found
No related tags found
No related merge requests found
......@@ -95,4 +95,17 @@
</xpath>
</field>
</record>
<record id="view_picking_type_form_inherit_mrp" model="ir.ui.view">
<field name="name">Operation Types</field>
<field name="model">stock.picking.type</field>
<field name="inherit_id" ref="stock.view_picking_type_form"/>
<field name="arch" type="xml">
<field name="show_operations" position="attributes">
<attribute name="attrs">{"invisible": [("code", "=", "mrp_operation")]}</attribute>
</field>
<field name="show_reserved" position="attributes">
<attribute name="attrs">{"invisible": [("code", "=", "mrp_operation")]}</attribute>
</field>
</field>
</record>
</odoo>
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