summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorSamus CTO <cto@openerp.com>2014-08-08 11:46:41 +0200
committerSamus CTO <cto@openerp.com>2014-08-08 18:01:13 +0200
commitc16884364b61cd5bf88790a0818aad52ac1715d1 (patch)
tree15d1093cbcbe3bd10681e23cbf9fc3d3beba2ced /addons/analytic_user_function/analytic_user_function.py
parent5f696ba86c5acdde11199ff4e7a41b9d7ace815f (diff)
[FIX] Calculate date interval using super user time zone
When you set the date of a cron the July 1st at midnight, if the user time zone has a positive offset, then the converted UTC date is the June 30th and adding 1 month will end up on July 30th translating to July 31th instead of September 1st. To solve this issue we use the super user time zone for the date calculation.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions