summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-05-22 12:36:04 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-05-23 09:11:20 +0200
commit4e57f94ff9c69ac6daf16ca5c5813a22786d45b8 (patch)
treeaacc8e426fd4379ea71884c642905a61ab1781b1 /addons/web/static/src/js/views/basic/basic_model.js
parent793438915a3cc68646e791f0f083dcab79180cd7 (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/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions