diff options
| author | Goffin Simon <sig@odoo.com> | 2015-09-07 11:01:26 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2015-09-08 10:08:45 +0200 |
| commit | bbd15cdca6e3bf6c92d3e230a2b7697c801a2cfb (patch) | |
| tree | a6836a29a5a13ac6664c3713a025d688b8751d18 /addons/web_editor/static/src/js | |
| parent | 20f69bbce9c9fa6d84ec1937dd99bb3c66dfca90 (diff) | |
[FIX] resource: interval_get_multi
To compute the intervals of working time, the function interval_get_multi
used 'hour_to' and 'hour_from' from "resource.calendar.attendance" model. 'hour_to'
and 'hour_from' are not in UTC timezone. All the dates in odoo are compared in UTC.
Then 'hour_to' and 'hour_from' must be converted.
To take into account the minutes in this computation, the minutes from the start date
are added in the variable todo (number of working hours).
opw:648349
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
