From 1efe2fc953b18b4c19ff2df20f376fc395a157fc Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Thu, 14 Nov 2019 09:16:38 +0000 Subject: [PATCH] [FIX] mrp: load move_finished_ids in view Issue: open a done production. Unlock it. Add a new raw stock move. This action will called _compute_order_finished_lot_ids on the new stock_move. This method uses move.raw_material_production_id.move_finished_ids. raw_material_production_id is available but not move_finished_ids. The reason is move_finished_id is not loaded by the web client in the production form view. This commit added the one2many (invisible) in the view in order to get all the information in the compute method. --- 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 e38fa0cf9a8..0cbc45636ab 100644 --- a/addons/mrp/views/mrp_production_views.xml +++ b/addons/mrp/views/mrp_production_views.xml @@ -177,6 +177,7 @@ +