From 3f1e45943081b187bc9862718d3e25e6cc54bb5e Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 28 May 2014 12:29:56 +0200 Subject: [PATCH] [FIX] mrp_sale: move explode product with wrong bom; change product id --- addons/sale_mrp/tests/test_move_explode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_mrp/tests/test_move_explode.py b/addons/sale_mrp/tests/test_move_explode.py index 496e07a2437..88dab7135b1 100644 --- a/addons/sale_mrp/tests/test_move_explode.py +++ b/addons/sale_mrp/tests/test_move_explode.py @@ -35,7 +35,7 @@ class TestMoveExplode(common.TransactionCase): self.mrp_bom = self.registry('mrp.bom') #product that has a phantom bom - self.product_bom_id = self.ir_model_data.get_object_reference(cr, uid, 'product', 'product_product_4')[1] + self.product_bom_id = self.ir_model_data.get_object_reference(cr, uid, 'product', 'product_product_3')[1] #bom with that product self.bom_id = self.ir_model_data.get_object_reference(cr, uid, 'mrp', 'mrp_bom_9')[1] #partner agrolait