diff options
| author | RCH(Open ERP) <> | 2010-02-02 14:43:30 +0530 |
|---|---|---|
| committer | Vir (Open ERP) <vir@tinyerp.com> | 2010-02-02 14:43:30 +0530 |
| commit | 0111d8b79e1d60e6ece8573e33dc103e2ec72a3b (patch) | |
| tree | af1acc64f2333b3be1ff199de9c6b616c945f529 | |
| parent | bc8b14964b28bec492acd4d24a0e817bf302f2c9 (diff) | |
[Fix] report_task : problem of date_close. Replace date_close to date_end
bzr revid: vir@tinyerp.com-20100202091330-u9x2765j9lwi7oyo
| -rw-r--r-- | addons/report_task/report_task.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/report_task/report_task.py b/addons/report_task/report_task.py index 2c13b570b86..2c53267f7d9 100644 --- a/addons/report_task/report_task.py +++ b/addons/report_task/report_task.py @@ -91,10 +91,11 @@ class report_closed_task(osv.osv): tsk.date_deadline as date_deadline, tsk.planned_hours as planned_hours, tsk.delay_hours as delay_hours, tsk.progress as progress, tsk.priority as priority, tsk.state as state, - tsk.remaining_hours as remaining_hours + tsk.remaining_hours as remaining_hours, tsk.date_end as date_close from project_task tsk - + where + (tsk.date_end <= CURRENT_DATE AND tsk.date_end > (CURRENT_DATE-15)) ) ''') report_closed_task() |
