diff --git a/tests/test_stock_supply.py b/tests/test_stock_supply.py index e900a50109..8faa1e2375 100644 --- a/tests/test_stock_supply.py +++ b/tests/test_stock_supply.py @@ -72,7 +72,6 @@ class StockSupplyTestCase(ModuleTestCase): pool = Pool() Uom = pool.get('product.uom') UomCategory = pool.get('product.uom.category') - Category = pool.get('product.category') Template = pool.get('product.template') Product = pool.get('product.product') Party = pool.get('party.party') @@ -87,12 +86,9 @@ class StockSupplyTestCase(ModuleTestCase): 'rate': 1.0, 'factor': 1.0, }]) - category, = Category.create([{'name': 'ProdCategoryTest'}]) template, = Template.create([{ 'name': 'ProductTest', 'default_uom': uom.id, - 'category': category.id, - 'account_category': True, 'list_price': Decimal(0), 'cost_price': Decimal(0), }])