From fe250e609c74f0502bcb0e34a65e360d1bc6f65f Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 28 May 2020 07:49:41 +0000 Subject: [PATCH] [FIX] mrp: display owner and package on move line When owner and/or packages are activated, a MO doesn't give the possibility to set the proper owner/package of the reserved products. We add the fields in the view, and set them as optional. Important note: this will only work with the move lines created during the reservation. If additional move lines are created manually, this won't work. Indeed, it would be necessary to add both fields to `raw_workorder_line_ids`, hence to `mrp.abstract.workorder.line`. opw-2260450 closes odoo/odoo#52180 X-original-commit: 7f84ef7c8a292a5e95b26f7923923271b7b109b7 Signed-off-by: Nicolas Martinelli (nim) --- addons/mrp/views/stock_move_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mrp/views/stock_move_views.xml b/addons/mrp/views/stock_move_views.xml index 72c043cff8d..7f0273418cd 100644 --- a/addons/mrp/views/stock_move_views.xml +++ b/addons/mrp/views/stock_move_views.xml @@ -60,6 +60,8 @@ + +