[FIX] stock: correct model name in new test

This commit is contained in:
Christophe Simonis
2018-05-09 16:47:14 +02:00
parent 5a751fa200
commit 79cfc85b91
+1 -1
View File
@@ -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,