[FIX] Fix the help for progression bar
authorDBR (OpenERP) <dbr@tinyerp.com>
Mon, 16 May 2011 11:35:55 +0000 (17:05 +0530)
committerDBR (OpenERP) <dbr@tinyerp.com>
Mon, 16 May 2011 11:35:55 +0000 (17:05 +0530)
lp bug: https://launchpad.net/bugs/751401 fixed

bzr revid: dbr@tinyerp.com-20110516113555-22pqezc5z7npxy9r

addons/project/project.py

index 25dd687..6a262e1 100644 (file)
@@ -449,7 +449,7 @@ class task(osv.osv):
                 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours'], 10),
                 'project.task.work': (_get_task, ['hours'], 10),
             }),
-        'progress': fields.function(_hours_get, method=True, string='Progress (%)', multi='hours', group_operator="avg", help="Computed as: Time Spent / Total Time.",
+        'progress': fields.function(_hours_get, method=True, string='Progress (%)', multi='hours', group_operator="avg", help="If the task has a progress of 99.99% you should close the task if it's finished or reevaluate the time",
             store = {
                 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours','state'], 10),
                 'project.task.work': (_get_task, ['hours'], 10),