diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-09-08 17:15:49 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-09-08 17:21:20 +0200 |
| commit | e509f9155b0ff12f96d93c820a5790cda6d93276 (patch) | |
| tree | 838849abdc8a0f75313c4b31c4e14cdf1b945d2c /addons/web/static/src/js/framework/session_instance.js | |
| parent | 3280819142af82a83e0d2554639a82d8575b7b50 (diff) | |
[FIX] google_calendar: all day event stop date
For an event during all day, during 2 days,
e.g. September 9th and September 10th,
Google expects as start date the first day, and as
stop date the day after the last day.
e.g.
start 2015-09-09
stop 2015-09-11
Even if, afterwise, in the Google Agenda interface, it will
be correctly displayed 2015-09-10 as end date.
This must be applied at the event creation AND at the event
update. It was not the case until this revision.
Besides, we now use the event `stop_date` in Odoo, instead
of the duration, in case the duration has been incorrectly
computed.
opw-648867
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
