summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2016-10-28 10:48:01 +0200
committerMartin Geubelle <mge@odoo.com>2016-10-28 11:26:23 +0200
commit9f09c625f5163ef98ee308ea1bd7cb2004ef1f03 (patch)
tree300f464ca025fb5c4fd4f17a61065b6a54347129 /addons/web/static/src/js
parent5ee4344efd0074fac4006984c1eb1ccc4f335518 (diff)
[FIX] calendar: rule._bynweekday can be a set
Depending on the version of dateutil, rule._bynweekday can either be a tuple or a set (see https://github.com/dateutil/dateutil/pull/54), which, in the case of a set, breaks the access by index (see related issue: https://github.com/dateutil/dateutil/issues/24). By casting it into a list, we make sure that we can access [0] in both case. Credits to jke ; closes opw-690761.
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions