New product types: Goods, Assets and Service

review260001
This commit is contained in:
Cédric Krier
2012-03-16 12:41:56 +01:00
parent ce3a4750b5
commit bbd2ed5ebb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ Create products::
>>> product.name = 'Product'
>>> product.category = category
>>> product.default_uom = unit
>>> product.type = 'stockable'
>>> product.type = 'goods'
>>> product.list_price = Decimal('20')
>>> product.cost_price = Decimal('8')
>>> product.save()
@@ -133,7 +133,7 @@ Create products::
>>> product.name = 'Product'
>>> product.category = category
>>> product.default_uom = unit
>>> product.type = 'stockable'
>>> product.type = 'goods'
>>> product.list_price = Decimal('20')
>>> product.cost_price = Decimal('8')
>>> product.account_expense = expense