diff options
| author | len-odoo <len@odoo.com> | 2018-05-22 12:36:04 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-05-23 09:11:20 +0200 |
| commit | 4e57f94ff9c69ac6daf16ca5c5813a22786d45b8 (patch) | |
| tree | aacc8e426fd4379ea71884c642905a61ab1781b1 /addons/web/static/src/js | |
| parent | 793438915a3cc68646e791f0f083dcab79180cd7 (diff) | |
[FIX] calendar: do not create events past year 9999
datetime.date(year, month, day).weekday() is undefined for year > 9999.
When creating a google recurrent event that is set to never end,
Odoo tries to create 100 individual events.
If in Google calendar the user sets a recurring event to a custom interval,
of say a century, then the hundredth event is in 100x100 years, so in 12018.
Since 12018 > 9999, we get a traceback and synchronisation never happens.
opw 1845311
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
