From 79cfc85b9185e7b2fe6fc4620fede239d03b934d Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 9 May 2018 16:47:14 +0200 Subject: [PATCH] [FIX] stock: correct model name in new test --- addons/stock/tests/test_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/tests/test_move.py b/addons/stock/tests/test_move.py index 7f1cc17b0cf..e3720acd44e 100644 --- a/addons/stock/tests/test_move.py +++ b/addons/stock/tests/test_move.py @@ -1820,7 +1820,7 @@ class StockMove(TransactionCase): second only validate 2 and create a backorder for the last one. Check that the reservation is correctly cleared up for the last one. """ - uom_3units = self.env['product.uom'].create({ + uom_3units = self.env['uom.uom'].create({ 'name': '3 units', 'category_id': self.uom_unit.category_id.id, 'factor_inv': 3,