From 198c3acdede88fe31af1d12588633cf968a7de71 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Fri, 23 Jul 2010 12:45:59 +0530 Subject: [PATCH 01/34] [FIX] stock: removed sale_id in deleivery order form view bzr revid: hmo@tinyerp.com-20100723071559-33wqwfwsbhzak69a --- addons/stock/stock_view.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 2eb218da275..5668ed673d4 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -896,7 +896,6 @@ - From bb6b4842938153c7ed7585054f0e871d9ad770f7 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Fri, 23 Jul 2010 12:47:53 +0530 Subject: [PATCH 02/34] [IMP] product: improve help msg in produce_delay and sale_delay fields in product.product model bzr revid: hmo@tinyerp.com-20100723071753-v1re4hyuchg2ctwq --- addons/product/product.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/product/product.py b/addons/product/product.py index cbb2ffefd67..304c95d7d2e 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -230,8 +230,8 @@ class product_template(osv.osv): 'description_sale': fields.text('Sale Description',translate=True), 'type': fields.selection([('product','Stockable Product'),('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Will change the way procurements are processed. Consumables are stockable products with infinite stock, or for use when you have no inventory management in the system."), 'supply_method': fields.selection([('produce','Produce'),('buy','Buy')], 'Supply method', required=True, help="Produce will generate production order or tasks, according to the product type. Purchase will trigger purchase orders when requested."), - 'sale_delay': fields.float('Customer Lead Time', help="This is the average time between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."), - 'produce_delay': fields.float('Manufacturing Lead Time', help="Average time to produce this product. This is only for the production order and, if it is a multi-level bill of material, it's only for the level of this product. Different lead times will be summed for all levels and purchase orders."), + 'sale_delay': fields.float('Customer Lead Time', help="This is the average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."), + 'produce_delay': fields.float('Manufacturing Lead Time', help="Average delay in days to produce this product. This is only for the production order and, if it is a multi-level bill of material, it's only for the level of this product. Different lead times will be summed for all levels and purchase orders."), '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."), 'rental': fields.boolean('Can be Rent'), 'categ_id': fields.many2one('product.category','Category', required=True, change_default=True, domain="[('type','=','normal')]" ,help="Select category for the current product"), From e44934e603db69806518276967599b5138c42303 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Fri, 23 Jul 2010 13:27:49 +0530 Subject: [PATCH 03/34] [IMP] mrp: view of product cost structure wizard bzr revid: hmo@tinyerp.com-20100723075749-xyvy684t9v9pcc3k --- addons/mrp/wizard/mrp_price.py | 2 +- addons/mrp/wizard/mrp_price_view.xml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/mrp/wizard/mrp_price.py b/addons/mrp/wizard/mrp_price.py index 55393a4371c..53d1d031ad9 100644 --- a/addons/mrp/wizard/mrp_price.py +++ b/addons/mrp/wizard/mrp_price.py @@ -25,7 +25,7 @@ class mrp_price(osv.osv_memory): _name = 'mrp.product_price' _description = 'Product Price' _columns = { - 'number': fields.integer('Number of products to produce', required=True), + 'number': fields.integer('Quantity', required=True, help="Specify quantity of products to produce. Report of Cost structure will be displayed base on this qunatity."), } def print_report(self, cr, uid, ids, context=None): diff --git a/addons/mrp/wizard/mrp_price_view.xml b/addons/mrp/wizard/mrp_price_view.xml index 524e1c73c2f..e71e96e2fcb 100644 --- a/addons/mrp/wizard/mrp_price_view.xml +++ b/addons/mrp/wizard/mrp_price_view.xml @@ -9,9 +9,11 @@ mrp.product_price form -
+ + +