From af35aea6b0d6ff52126141ab0e3754a0427553fc Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 9 Aug 2018 18:56:26 +0200 Subject: [PATCH] [FIX] sale_stock: adapt new test to renamed xmlid --- addons/sale_stock/tests/test_sale_stock.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/sale_stock/tests/test_sale_stock.py b/addons/sale_stock/tests/test_sale_stock.py index 69ff5a37323..57bab6ca51e 100644 --- a/addons/sale_stock/tests/test_sale_stock.py +++ b/addons/sale_stock/tests/test_sale_stock.py @@ -428,8 +428,8 @@ class TestSaleStock(TestSale): the picking, create new move lines (through the detailed operations view). See that the move lines are correctly dispatched through the moves. """ - uom_unit = self.env.ref('product.product_uom_unit') - uom_dozen = self.env.ref('product.product_uom_dozen') + uom_unit = self.env.ref('uom.product_uom_unit') + uom_dozen = self.env.ref('uom.product_uom_dozen') item1 = self.products['prod_order'] self.assertEqual(item1.uom_id.id, uom_unit.id) @@ -495,4 +495,3 @@ class TestSaleStock(TestSale): so1.picking_ids.button_validate() self.assertEqual(so1.picking_ids.state, 'done') self.assertEqual(so1.order_line.mapped('qty_delivered'), [1, 1, 1]) -