From f86e21cf2104a20efd22bdee232bc9ecd0cd4e78 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Fri, 5 Oct 2012 13:03:00 +0530 Subject: [PATCH] [FIX]product : add space bzr revid: mma@tinyerp.com-20121005073300-12vrs2uzn5wkdiid --- addons/procurement/procurement.py | 3 +++ 1 file changed, 3 insertions(+) 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):