diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-11-21 12:24:07 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-21 17:04:47 +0000 |
| commit | 51f90541bf185042493b409454c34994e27de401 (patch) | |
| tree | 68be9fafc6597a8d17419da63faa426f0b38f408 /doc/reference/javascript_reference.rst | |
| parent | 4b1668abc3afd48d63809353a85c2d14c8ae7ccc (diff) | |
[FIX] calendar: round duration
When a calendar event is created with a duration of for example 20
minutes, the end time appears as the start time + 19 minutes.
Because of the rounding of the duration (20 minutes = 0.333... hours),
the end time is incorrectly set (xx:19:59.998...) then displayed. Since
the duration can only be set by the minute, we round it before computing
the end time.
opw-2122853
closes odoo/odoo#40655
X-original-commit: f6ae9f0aea5a250cbff6734de8a43a1b741394a7
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
