From d2a20c324dc719d89b7172f610e2bac94f9ab4a2 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 15 Feb 2016 14:28:28 +0100 Subject: [PATCH] [IMP] Usability on task: no need for sum since it's rewritten bellow (and could be confusing if >80 in list --- addons/project_timesheet/project_timesheet.py | 2 +- addons/project_timesheet/project_timesheet_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project_timesheet/project_timesheet.py b/addons/project_timesheet/project_timesheet.py index 54a4a2a3b84..d628919cae5 100644 --- a/addons/project_timesheet/project_timesheet.py +++ b/addons/project_timesheet/project_timesheet.py @@ -91,7 +91,7 @@ class task(osv.osv): 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['timesheet_ids', 'remaining_hours', 'planned_hours'], 10), 'account.analytic.line': (_get_task, ['task_id', 'unit_amount'], 10), }), - 'progress': fields.function(_hours_get, string='Working Time Progress (%)', multi='line_id', 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", + 'progress': fields.function(_hours_get, string='Progress (%)', multi='line_id', 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, ['timesheet_ids', 'remaining_hours', 'planned_hours', 'state', 'stage_id'], 10), 'account.analytic.line': (_get_task, ['task_id', 'unit_amount'], 10), diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index d3f1ffaed30..17e0fd8e678 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -71,7 +71,7 @@ - +