From: Divyesh Makwana (Open ERP) Date: Wed, 18 Apr 2012 13:10:00 +0000 (+0530) Subject: [IMP] project, project_issue : Improved the tooltip. X-Git-Tag: 7.0-server~3407^2~179^2~1 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=cff589237ba0a0e9dd89a50cde74dad095e6e932;p=odoo%2Fodoo.git [IMP] project, project_issue : Improved the tooltip. bzr revid: mdi@tinyerp.com-20120418131000-xoxybd9fw7imliad --- diff --git a/addons/project/project.py b/addons/project/project.py index 5fe723e..9a128d2 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -44,9 +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='If the task is created the state is \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\ - \n If the task is over, the states is set to \'Done\'.'), + 'state': fields.selection(_TASK_STATE, 'State', required=True, help='This state is related to stage.'), } _defaults = { 'state': 'draft', @@ -698,7 +696,8 @@ class task(osv.osv): store = { 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['type_id'], 10), 'project.task.type': (_get_stage, ['state'], 10) - }), + }, help='If the task is created the state is \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\ + \n If the task is over, the states is set to \'Done\'.'), 'kanban_state': fields.selection([('normal', 'Normal'),('blocked', 'Blocked'),('done', 'Ready To Pull')], 'Kanban State', help="A task's kanban state indicates special situations affecting it:\n" " * Normal is the default situation\n" diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 484900b..38d948c 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -211,7 +211,10 @@ class project_issue(crm.crm_case, osv.osv): store = { 'project.issue': (lambda self, cr, uid, ids, c={}: ids, ['type_id'], 10), 'project.task.type': (_get_stage, ['state'], 10) - }), + }, help='The state is set to \'Draft\', when a case is created.\ + \nIf the case is in progress the state is set to \'Open\'.\ + \nWhen the case is over, the state is set to \'Done\'.\ + \nIf the case needs to be reviewed then the state is set to \'Pending\'.'), 'email_from': fields.char('Email', size=128, help="These people will receive email.", select=1), 'email_cc': fields.char('Watchers Emails', size=256, help="These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"), 'date_open': fields.datetime('Opened', readonly=True,select=True),