summaryrefslogtreecommitdiff
path: root/addons/procurement/procurement.py
diff options
context:
space:
mode:
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>2012-10-05 13:03:00 +0530
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>2012-10-05 13:03:00 +0530
commitf86e21cf2104a20efd22bdee232bc9ecd0cd4e78 (patch)
treec2ddbf9e61f8918eb39c3027b3cb519905d006da /addons/procurement/procurement.py
parent1fbadf892af5ca5d7c68900e8516b8a3391baef7 (diff)
[FIX]product : add space
bzr revid: mma@tinyerp.com-20121005073300-12vrs2uzn5wkdiid
Diffstat (limited to 'addons/procurement/procurement.py')
-rw-r--r--addons/procurement/procurement.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py
index 159c4983063..6d36cb5b71c 100644
--- a/addons/procurement/procurement.py
+++ b/addons/procurement/procurement.py
@@ -641,8 +641,10 @@ class stock_warehouse_orderpoint(osv.osv):
return super(stock_warehouse_orderpoint, self).copy(cr, uid, id, default, context=context)
stock_warehouse_orderpoint()
+
class product_template(osv.osv):
_inherit="product.template"
+
_columns = {
'type': fields.selection([('product','Stockable Product'),('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Will change the way procurements are processed. Consumable are product where you don't manage stock, a service is a non-material product provided by a company or an individual."),
'procure_method': fields.selection([('make_to_stock','Make to Stock'),('make_to_order','Make to Order')], 'Procurement Method', required=True, help="'Make to Stock': When needed, take from the stock or wait until re-supplying. 'Make to Order': When needed, purchase or produce for the procurement request."),
@@ -652,6 +654,7 @@ class product_template(osv.osv):
'procure_method': 'make_to_stock',
'supply_method': 'buy',
}
+
product_template()
class product_product(osv.osv):