From c5c3de39ce6bf5dc98edced3a57db923009d674e Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Fri, 4 May 2012 16:14:13 +0530 Subject: [PATCH] [IMP] crm, hr_recruitment, project : Improved tooltip of state fields in all stage object. bzr revid: mdi@tinyerp.com-20120504104413-p0shlocoxzoaxboh --- addons/crm/crm.py | 2 +- addons/hr_recruitment/hr_recruitment.py | 2 +- addons/project/project.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index a010c152362..556dea9a927 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -71,7 +71,7 @@ class crm_case_stage(osv.osv): 'on_change': fields.boolean('Change Probability Automatically', help="Setting this stage will change the probability automatically on the opportunity."), 'requirements': fields.text('Requirements'), 'section_ids':fields.many2many('crm.case.section', 'section_stage_rel', 'stage_id', 'section_id', 'Sections'), - 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="This state is related to stage"), + 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="The related state for the stage. The state of you document will automatically change regarding the selected stage. Example, a stage is related to the state 'Close', when your document reach this stage, it will be automatically closed."), 'case_default': fields.boolean('Common to All Teams', help="If you check this field, this stage will be proposed by default on each sales team. It will not assign this stage to existing teams."), } diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 1536b47432d..1e3faf95c2d 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -69,7 +69,7 @@ class hr_recruitment_stage(osv.osv): 'name': fields.char('Name', size=64, required=True, translate=True), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of stages."), 'department_id':fields.many2one('hr.department', 'Specific to a Department', help="Stages of the recruitment process may be different per department. If this stage is common to all departments, keep tempy this field."), - 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="This state is related to this stage"), + 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="The related state for the stage. The state of you document will automatically change regarding the selected stage. Example, a stage is related to the state 'Close', when your document reach this stage, it will be automatically closed."), 'requirements': fields.text('Requirements') } _defaults = { diff --git a/addons/project/project.py b/addons/project/project.py index 7751a4613a5..49398ae346b 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -44,7 +44,7 @@ class project_task_type(osv.osv): 'sequence': fields.integer('Sequence'), 'project_default': fields.boolean('Common to All Projects', help="If you check this field, this stage will be proposed by default on each new project. It will not assign this stage to existing projects."), 'project_ids': fields.many2many('project.project', 'project_task_type_rel', 'type_id', 'project_id', 'Projects'), - 'state': fields.selection(_TASK_STATE, 'State', required=True, help='This state is related to stage.'), + 'state': fields.selection(_TASK_STATE, 'State', required=True, help="The related state for the stage. The state of you document will automatically change regarding the selected stage. Example, a stage is related to the state 'Close', when your document reach this stage, it will be automatically closed."), } _defaults = { 'state': 'draft',