diff --git a/addons/stock/tests/common.py b/addons/stock/tests/common.py index 6a695af9363..6058cc40acc 100644 --- a/addons/stock/tests/common.py +++ b/addons/stock/tests/common.py @@ -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',