From 847e58f924bac07fe682d31fd7262e2672ebe3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Mar 2016 09:05:39 +0100 Subject: [PATCH] Replace category by categories on Template issue5320 review23791002 --- tests/scenario_sale_supply.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/scenario_sale_supply.rst b/tests/scenario_sale_supply.rst index 023ff89da0..ed3bb89951 100644 --- a/tests/scenario_sale_supply.rst +++ b/tests/scenario_sale_supply.rst @@ -98,12 +98,6 @@ Create parties:: >>> customer = Party(name='Customer') >>> customer.save() -Create category:: - - >>> ProductCategory = Model.get('product.category') - >>> category = ProductCategory(name='Category') - >>> category.save() - Create product:: >>> ProductUom = Model.get('product.uom') @@ -113,7 +107,6 @@ Create product:: >>> product = Product() >>> template = ProductTemplate() >>> template.name = 'product' - >>> template.category = category >>> template.default_uom = unit >>> template.type = 'goods' >>> template.purchasable = True @@ -227,7 +220,6 @@ not create a new purchase request:: >>> changing_product = Product() >>> changing_template = ProductTemplate() >>> changing_template.name = 'product' - >>> changing_template.category = category >>> changing_template.default_uom = unit >>> changing_template.type = 'goods' >>> changing_template.purchasable = True