summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-07-11 12:51:10 +0200
committerlen-odoo <35492570+len-odoo@users.noreply.github.com>2018-07-16 08:47:06 +0200
commit02afc0e0aaea64c534453bcf8cbc3f93c1927113 (patch)
treed48dcc0272834dd551a00129fccacb6ddfebce00 /addons/web/static/src/js/fields
parent7e44d8f6fc11ef9ca229075a0cb29776c7bc2e9e (diff)
[FIX] web: groupby product on package types triggers a js error
On a database where many modules are installed (e.g. runbot all), with the option "manage available packaging options per products", doing a groupby "product" on the "package type" list view triggers a js error. It comes from the fact that the fixed_group variable contains a "length" attribute; the _().each function uses this to determine (erroneously) that the object is an array. It thus uses fixed_group[0] to get an undefined, and then tries to access a method of undefined. We replace the each by a simple js loop. opw 1863576
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions