Replace category by categories on Template

issue5320
review23791002
This commit is contained in:
Cédric Krier committed 2016-03-19 09:05:40 +01:00
1 parent a618c9b85c
commit 3c78f54f7a
1 file changed
-7
@@ -101,12 +101,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')
@@ -117,7 +111,6 @@ Create product::
>>> product = Product()
>>> template = ProductTemplate()
>>> template.name = 'product'
>>> template.category = category
>>> template.default_uom = unit
>>> template.type = 'goods'
>>> template.purchasable = True