[FIX] project: use utc timezone in report
This commit is contained in:
parent
8e6d5beb35
commit
0bbb449d27
|
@ -87,7 +87,7 @@ class report_project_task_user(osv.osv):
|
|||
planned_hours as hours_planned,
|
||||
(extract('epoch' from (t.write_date-t.create_date)))/(3600*24) as closing_days,
|
||||
(extract('epoch' from (t.date_start-t.create_date)))/(3600*24) as opening_days,
|
||||
(extract('epoch' from (t.date_deadline-now())))/(3600*24) as delay_endings_days
|
||||
(extract('epoch' from (t.date_deadline-(now() at time zone 'UTC'))))/(3600*24) as delay_endings_days
|
||||
FROM project_task t
|
||||
WHERE t.active = 'true'
|
||||
GROUP BY
|
||||
|
|
Loading…
Reference in New Issue