From 05f4a16b04c2cc7e6c167a32fb6da9149aabd0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 19 Mar 2016 09:05:36 +0100 Subject: [PATCH] Replace category by categories on Template issue5320 review23791002 --- tests/scenario_sale_shipment_cost.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/scenario_sale_shipment_cost.rst b/tests/scenario_sale_shipment_cost.rst index 3e3f13a753..824e53ea35 100644 --- a/tests/scenario_sale_shipment_cost.rst +++ b/tests/scenario_sale_shipment_cost.rst @@ -61,12 +61,6 @@ Create customer:: >>> 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') @@ -76,7 +70,6 @@ Create product:: >>> product = Product() >>> template = ProductTemplate() >>> template.name = 'Product' - >>> template.category = category >>> template.default_uom = unit >>> template.type = 'goods' >>> template.salable = True @@ -90,7 +83,6 @@ Create product:: >>> carrier_product = Product() >>> carrier_template = ProductTemplate() >>> carrier_template.name = 'Carrier Product' - >>> carrier_template.category = category >>> carrier_template.default_uom = unit >>> carrier_template.type = 'service' >>> carrier_template.salable = True