From b3590bc58e7536f61554cca310fac361c9e48a8a Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Tue, 22 Aug 2017 10:51:27 +0200 Subject: [PATCH] [FIX] mrp: change lots in produce - Create Products A and B, tracked by unique serial number. - Receive some quantity of B. - Create a BOM for A which uses 1 unit of B. - Create a MO for 2 units of A, save and check availability. - Click on the 'Produce' button. - Change the suggested lot (choose a new one or create), then click on the '+' button. When the wizard is reloaded, the lot chosen is lost. We reach an exception in the framework: when clicking on the '+' button, no `create` is performed on the transient model `mrp.product.produce`, therefore the values are not saved. Since this use case is an exception and is likely to lead to errors, we remove the button. opw-761044 --- addons/mrp/wizard/mrp_product_produce_views.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/mrp/wizard/mrp_product_produce_views.xml b/addons/mrp/wizard/mrp_product_produce_views.xml index 805d05b7549..c3df10ddbbe 100644 --- a/addons/mrp/wizard/mrp_product_produce_views.xml +++ b/addons/mrp/wizard/mrp_product_produce_views.xml @@ -29,8 +29,6 @@ -