From 4def2f930b0bd5e96c5299afb95183a7d51185f7 Mon Sep 17 00:00:00 2001 From: "RHA(OpenERP)" <> Date: Mon, 20 Sep 2010 11:41:01 +0530 Subject: [IMP]: Usability imporvements in project_* and document_* modules bzr revid: rvo@tinyerp.co.in-20100920061101-qizxmc2hyxcj2a9s --- addons/project/wizard/project_task_delegate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/project/wizard/project_task_delegate.py') diff --git a/addons/project/wizard/project_task_delegate.py b/addons/project/wizard/project_task_delegate.py index 2ce74ceefc8..2430b8a0896 100644 --- a/addons/project/wizard/project_task_delegate.py +++ b/addons/project/wizard/project_task_delegate.py @@ -30,7 +30,7 @@ class project_task_delegate(osv.osv_memory): _columns = { 'name': fields.char('Delegated Title', size=64, required=True, help="New title of the task delegated to the user"), - 'prefix': fields.char('Your Task Title', size=64, required=True, help="New title of your own task to validate the work done"), + 'prefix': fields.char('Your Task Title', size=64, required=True, help="Title for your validation task"), 'user_id': fields.many2one('res.users', 'Assign To', required=True, help="User you want to delegate this task to"), 'new_task_description': fields.text('New Task Description', help="Reinclude the description of the task in the task of the user"), 'planned_hours': fields.float('Planned Hours', help="Estimated time to close this task by the delegated user"), @@ -51,7 +51,7 @@ class project_task_delegate(osv.osv_memory): project = task.project_id manager = project.user_id or False partner = task.partner_id or task.project_id.partner_id - + if 'name' in fields: if task.name.startswith(_('CHECK: ')): newname = str(task.name).replace(_('CHECK: '), '') -- cgit v1.2.3