diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2016-02-15 14:28:28 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2016-02-15 14:28:28 +0100 |
| commit | d2a20c324dc719d89b7172f610e2bac94f9ab4a2 (patch) | |
| tree | 60d3c986d0b2595aab9f7b8828a9c0f11eb80630 /addons | |
| parent | 30c655b43d98b0e060d9bb98bc5d1f9e33714452 (diff) | |
[IMP] Usability on task: no need for sum since it's rewritten bellow (and could be confusing if >80 in list
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/project_timesheet/project_timesheet.py | 2 | ||||
| -rw-r--r-- | 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 @@ <field name="user_id" required="1"/> <field name="name"/> <field name="account_id"/> - <field name="unit_amount" string="Duration" sum="Total time" widget="float_time"/> + <field name="unit_amount" string="Duration" widget="float_time"/> <field name="is_timesheet" invisible="1"/> </tree> </field> |
