From 9799d989a6764c7709633ed65009031955a7c539 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Wed, 23 Dec 2009 19:33:29 +0530 Subject: [PATCH] [ADD]: Added tooltips for production order and procurement order. bzr revid: uco@tinyerp.co.in-20091223140329-laq7rr59x0k5i6g0 --- addons/mrp/mrp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 860a765a448..f08c3c1b3f2 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -189,7 +189,7 @@ class mrp_bom(osv.osv): 'product_uos': fields.many2one('product.uom', 'Product UOS', help="Product UOS (Unit of Sale) is the unit of measurement for the invoicing and promotion of stock."), 'product_qty': fields.float('Product Qty', required=True), 'product_uom': fields.many2one('product.uom', 'Product UOM', required=True, help="UoM (Unit of Measure) is the unit of measurement for the inventory control"), - 'product_rounding': fields.float('Product Rounding', help="Rounding applied on the product quantity. For integer only values, put 1.0"), + 'product_rounding': fields.float('Product Rounding', help="Rounding applied on the product quantity."), 'product_efficiency': fields.float('Product Efficiency', required=True, help="Material efficiency. A factor of 0.9 means a loss of 10% in the production."), 'bom_lines': fields.one2many('mrp.bom', 'bom_id', 'BoM Lines'), 'bom_id': fields.many2one('mrp.bom', 'Parent BoM', ondelete='cascade', select=True), @@ -441,8 +441,8 @@ class mrp_production(osv.osv): 'hour_total': fields.function(_production_calc, method=True, type='float', string='Total Hours', multi='workorder'), 'cycle_total': fields.function(_production_calc, method=True, type='float', string='Total Cycles', multi='workorder'), - 'sale_name': fields.function(_sale_name_calc, method=True, type='char', string='Sale Name'), - 'sale_ref': fields.function(_sale_ref_calc, method=True, type='char', string='Sale Reference'), + 'sale_name': fields.function(_sale_name_calc, method=True, type='char', string='Sale Name', help='Gives the name of sale order.'), + 'sale_ref': fields.function(_sale_ref_calc, method=True, type='char', string='Sale Reference', help='Gives the name of Customer Reference from sale order.'), 'company_id': fields.many2one('res.company','Company',required=True), } _defaults = { @@ -793,7 +793,7 @@ class mrp_procurement(osv.osv): _description = "Procurement" _order = 'priority,date_planned' _columns = { - 'name': fields.char('Name', size=64, required=True), + 'name': fields.char('Name', size=64, required=True, help='Requisition name. It differs when done by scheduler else same as origin name.'), 'origin': fields.char('Origin', size=64, help="Reference of the document that created this Requisition.\n" "This is automatically completed by Open ERP."),