From 2118bbe4527fe6dba602d9dffad7795fe11ff508 Mon Sep 17 00:00:00 2001 From: clesgow Date: Wed, 19 Apr 2023 11:30:09 +0000 Subject: [PATCH] [FIX] mrp: Refer to mrp.production in Manufacturings list Steps to reproduce : - Install stock, mrp - Go to Inventory -> Operations -> Manufacturings - No MO could be found The view showed `stock.picking` having a 'manufacturing' picking_type_code. Now instead shows a list of `mrp.production` as it is done when clicking on the 'Manufacturing' type in the stock Overview. Part of task-3218314 Part-of: odoo/odoo#119381 --- addons/mrp/views/stock_picking_views.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mrp/views/stock_picking_views.xml b/addons/mrp/views/stock_picking_views.xml index 60fb8589f3c..0c9f8b7128f 100644 --- a/addons/mrp/views/stock_picking_views.xml +++ b/addons/mrp/views/stock_picking_views.xml @@ -146,11 +146,11 @@ Manufacturings - stock.picking + mrp.production tree,kanban,form,calendar - [('picking_type_code', '=', 'mrp_operation')] - {'contact_display': 'partner_address', 'default_company_id': allowed_company_ids[0], 'restricted_picking_type_code': 'mrp_operation'} - + + {'default_company_id': allowed_company_ids[0]} +