From b9bcce7e0b7450dae858c4f3a0655d8fe35ebd49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Mar 2016 09:05:50 +0100 Subject: [PATCH] Replace category by categories on Template issue5320 review23791002 --- tests/test_stock_supply.py | 4 ---- 1 file changed, 4 deletions(-) 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), }])