diff options
| author | Dhs-odoo <dhs@openerp.com> | 2014-11-10 14:13:43 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2014-11-10 14:13:43 +0100 |
| commit | c200ffd74e892492994fa66ac8f38b390bc2b8d9 (patch) | |
| tree | 3cb0de06ab302342cdbc23fab6d4de62f12aba9c /addons/analytic_user_function/analytic_user_function.py | |
| parent | c6a5be0a195c71c7ded9cc863815d115259abfd9 (diff) | |
[FIX] project_timesheet: missing timesheet for tasks without project
Timesheet activities (hr.analytic.timesheet) are generated when a work activity (project.task.work) is logged on a task.
These are updated if the project of the task is modified.
This patch applies the same behaviour for tasks without project, the timesheet activities are generated once a project is set on the task.
To avoid redundency in the code, extract the computation in a distinct method.
Fixes #701, opw 609481
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
