diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-10-17 16:38:45 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-10-17 16:38:45 +0200 |
| commit | a13120c0391157b5fb34767fb341c786b5d4b970 (patch) | |
| tree | 42920689bbef031f3dbdbbe09dc0fadb400c1851 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 8d0942380b5743145bee624411a15d71d225b246 (diff) | |
[FIX] resource: default TZ
If TZ is not set on a user, the creation of a `hr.leave` won't populate
the `tz` field of the associated `resource.calendar.leaves` record.
However, the method `_get_leave_intervals` assumes that field field is
always filled in.
Set the TZ to UTC as a fallback.
opw-777031
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
