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

This commit is contained in:
Hetashree Chauhan
2017-09-28 14:45:20 -07:00
committed by Joren Van Onder
parent 1bce0a398d
commit d0cc5a530c
+13
View File
@@ -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>