[FIX] stock: avoid useless changes on UoM in tests setUp

This commit is contained in:
Christophe Simonis
2018-06-27 20:14:47 +02:00
parent d44a4df863
commit 9dcc32c304
-7
View File
@@ -43,10 +43,6 @@ class TestStockCommon(common.TransactionCase):
# Configure unit of measure.
self.uom_kg = self.UomObj.create({
'name': 'Test-KG',
'category_id': self.categ_kgm,
'factor_inv': 1,
'factor': 1,
'uom_type': 'reference',
'rounding': 0.000001})
self.uom_tone = self.UomObj.create({
'name': 'Test-Tone',
@@ -69,9 +65,6 @@ class TestStockCommon(common.TransactionCase):
# Check Unit
self.uom_unit = self.UomObj.create({
'name': 'Test-Unit',
'category_id': self.categ_unit,
'factor': 1,
'uom_type': 'reference',
'rounding': 1.0})
self.uom_dozen = self.UomObj.create({
'name': 'Test-DozenA',