From 2bc631a28da4c403a2b74121ed825c3a42790d55 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Tue, 22 Dec 2009 18:38:10 +0530 Subject: [PATCH] [IMP,ADD]: Missing or to clarify tooltips: Added and Improved tooltips for some fields. bzr revid: uco@tinyerp.co.in-20091222130810-12crvqp29ckoxzsj --- addons/account/account.py | 7 ++++++- addons/hr/hr.py | 2 +- addons/hr_timesheet/hr_timesheet.py | 2 +- addons/mrp/mrp.py | 11 ++++------- addons/product/product.py | 2 +- addons/stock/stock.py | 2 +- 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 7bb0e7622d4..47cf0c93f4b 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -465,7 +465,12 @@ class account_journal(osv.osv): _columns = { 'name': fields.char('Journal Name', size=64, required=True, translate=True), 'code': fields.char('Code', size=16), - 'type': fields.selection([('sale', 'Sale'), ('purchase', 'Purchase'), ('cash', 'Cash'), ('general', 'General'), ('situation', 'Situation')], 'Type', size=32, required=True), + 'type': fields.selection([('sale', 'Sale'), ('purchase', 'Purchase'), ('cash', 'Cash'), ('general', 'General'), ('situation', 'Situation')], 'Type', size=32, required=True, + help="Select 'Sale' for Sale journal to be used at the time of making invoice."\ + " Select 'Purchase' for Purchase Journal to be used at the time of approving purchase order."\ + " Select 'Cash' to be used at the time of making payment."\ + " Select 'General' to be used at the time of stock input/output."\ + " Select 'Situation' to be used at the time of making vouchers."), 'refund_journal': fields.boolean('Refund Journal'), 'type_control_ids': fields.many2many('account.account.type', 'account_journal_type_rel', 'journal_id','type_id', 'Type Controls', domain=[('code','<>','view'), ('code', '<>', 'closed')]), diff --git a/addons/hr/hr.py b/addons/hr/hr.py index d5bb603bdfb..d25ac4e1717 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -126,7 +126,7 @@ class hr_employee(osv.osv): 'country_id' : fields.many2one('res.country', 'Nationality'), 'birthday' : fields.date("Birthday"), - 'ssnid': fields.char('SSN No', size=32), + 'ssnid': fields.char('SSN No', size=32, help='Social Security Number'), 'sinid': fields.char('SIN No', size=32), 'otherid': fields.char('Other ID', size=32), 'gender': fields.selection([('',''),('male','Male'),('female','Female')], 'Gender'), diff --git a/addons/hr_timesheet/hr_timesheet.py b/addons/hr_timesheet/hr_timesheet.py index 652814b6e02..61dfba9914b 100644 --- a/addons/hr_timesheet/hr_timesheet.py +++ b/addons/hr_timesheet/hr_timesheet.py @@ -29,7 +29,7 @@ class hr_employee(osv.osv): _name = "hr.employee" _inherit = "hr.employee" _columns = { - 'product_id': fields.many2one('product.product', 'Product'), + 'product_id': fields.many2one('product.product', 'Product', help="Specifies employee's designation as a product with type 'service'."), 'journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal') } hr_employee() diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 12790a5d42b..860a765a448 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -175,13 +175,10 @@ class mrp_bom(osv.osv): 'name': fields.char('Name', size=64, required=True), 'code': fields.char('Code', size=16), 'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the bills of material without removing it."), - 'type': fields.selection([('normal','Normal BoM'),('phantom','Sets / Phantom')], 'BoM Type', required=True, help= - "Use a phantom bill of material in raw materials lines that have to be " \ - "automatically computed in on eproduction order and not one per level." \ - "If you put \"Phantom/Set\" at the root level of a bill of material " \ - "it is considered as a set or pack: the products are replaced by the components " \ - "between the sale order to the picking without going through the production order." \ - "The normal BoM will generate one production order per BoM level."), + 'type': fields.selection([('normal','Normal BoM'),('phantom','Sets / Phantom')], 'BoM Type', required=True, + help= "If a sub-product is used in several products, it can be useful to create its own BoM."\ + "Though if you don't want separated production orders for this sub-product, select Set/Phantom as BoM type."\ + "If a Phantom BoM is used for a root product, it will be sold and shipped as a set of components, instead of being produced."), 'method': fields.function(_compute_type, string='Method', method=True, type='selection', selection=[('',''),('stock','On Stock'),('order','On Order'),('set','Set / Pack')]), 'date_start': fields.date('Valid From', help="Validity of this BoM or component. Keep empty if it's always valid."), 'date_stop': fields.date('Valid Until', help="Validity of this BoM or component. Keep empty if it's always valid."), diff --git a/addons/product/product.py b/addons/product/product.py index b6ee402077f..7a1ddf7c727 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -571,7 +571,7 @@ class product_packaging(osv.osv): 'qty' : fields.float('Quantity by Package', help="The total number of products you can put by pallet or box."), 'ul' : fields.many2one('product.ul', 'Type of Package', required=True), - 'ul_qty' : fields.integer('Package by layer'), + 'ul_qty' : fields.integer('Package by layer', help='The number of packages by layer'), 'rows' : fields.integer('Number of Layers', required=True, help='The number of layers on a pallet or box'), 'product_id' : fields.many2one('product.product', 'Product', select=1, ondelete='cascade', required=True), diff --git a/addons/stock/stock.py b/addons/stock/stock.py index dbd8c0c743e..0b2aaa90b18 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -438,7 +438,7 @@ class stock_picking(osv.osv): _columns = { 'name': fields.char('Reference', size=64, select=True), 'origin': fields.char('Origin', size=64, help="Reference of the document that produced this picking."), - 'backorder_id': fields.many2one('stock.picking', 'Back Order'), + 'backorder_id': fields.many2one('stock.picking', 'Back Order', help="If the picking is splitted then the picking id in available state of move for this picking is stored in Backorder."), 'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal'), ('delivery', 'Delivery')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."), 'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the picking without removing it."), 'note': fields.text('Notes'),