[FIX] mrp: hide order when its picking type is archived
We may want do disable a picking type. In this case, we don't want the linked manufacturing orders to appear on the main view of the manufacturing orders (not through the inventory dashboards but through the "manufacturing orders" menu item). Task 1831382
This commit is contained in:
committed by
Simon Lejeune
parent
e1a29b83be
commit
46f2628ee3
@@ -315,6 +315,7 @@
|
||||
<field name="view_id" eval="False"/>
|
||||
<field name="search_view_id" ref="view_mrp_production_filter"/>
|
||||
<field name="context">{'search_default_todo': True}</field>
|
||||
<field name="domain">[('picking_type_id.active', '=', True)]</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create a new manufacturing order
|
||||
|
||||
Reference in New Issue
Block a user