diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2017-08-10 15:52:49 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-08-17 17:40:41 +0200 |
| commit | bbf63b0b563dbf55c07fb0c5bfe5cf17f3b84fb8 (patch) | |
| tree | 6206f401e0f6eafb9fc984717e17473832e262d1 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | f5b7ad80fcfd1638cb7ea019a38871c3b8438e36 (diff) | |
[FIX] web: Calendar: correctly display events
Before this rev., the events in Calendar views (month mode) weren't
correctly displayed: the last day of the event wasn't displayed as
being part of the event. For instance, in leaves, a leave of 3 days
from the 16th of Augustus until the 18th was only displayed over
the 16th and the 17th.
Moreover, when an event was created from a Calendar view with
option all_day=False, the default start and end dates weren't
correctly computed according to the user timezone, which could lead
to the creation of multiple days event whereas the user clicked on
a specific day. For instance, with timezone GMT+2, when clicking on
the 18th of Augustus in the Leave Calendar view (month mode), it
opened a dialog for the creation of a 2-day leave from the 18th to
the 19th.
This rev. fixes those two issues.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
