From 46f2628ee3231351c60fb2eae5a1bab01a8d68fa Mon Sep 17 00:00:00 2001 From: Arnaud Baes Date: Fri, 29 Mar 2019 10:36:02 +0000 Subject: [PATCH] [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 --- addons/mrp/views/mrp_production_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml index be2ead0ec44..ed05eca749c 100644 --- a/addons/mrp/views/mrp_production_views.xml +++ b/addons/mrp/views/mrp_production_views.xml @@ -315,6 +315,7 @@ {'search_default_todo': True} + [('picking_type_id.active', '=', True)]

Create a new manufacturing order