From 2c4b555b95429156185c7a1ac499f8d69ffeefe2 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 28 Jun 2018 11:01:25 +0200 Subject: [PATCH] [FIX] stock: use renamed xmlid in newly added test --- addons/stock/tests/test_robustness.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/tests/test_robustness.py b/addons/stock/tests/test_robustness.py index bd3dc6db96e..5926a6e2487 100644 --- a/addons/stock/tests/test_robustness.py +++ b/addons/stock/tests/test_robustness.py @@ -10,8 +10,8 @@ class TestRobustness(TransactionCase): super(TestRobustness, self).setUp() self.stock_location = self.env.ref('stock.stock_location_stock') self.customer_location = self.env.ref('stock.stock_location_customers') - self.uom_unit = self.env.ref('product.product_uom_unit') - self.uom_dozen = self.env.ref('product.product_uom_dozen') + self.uom_unit = self.env.ref('uom.product_uom_unit') + self.uom_dozen = self.env.ref('uom.product_uom_dozen') self.product1 = self.env['product.product'].create({ 'name': 'Product A', 'type': 'product',