summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-04-20 15:36:06 +0200
committerAaron Bohy <aab@odoo.com>2018-04-23 08:20:23 +0200
commite43b9ab9c6f29aa7bba46ed945afaa634f2241cb (patch)
tree5a62b65f21bf5731a41b2026eee8b5dac2549b14 /addons/web/static/src/js/fields
parent851356bf2388c21ec5d6f68a505d067a4f758d3b (diff)
[FIX] web: ListView: no infinite loop on empty nameget
Assume a list view with a many2many field, and a record for which that many2many contains a single value, whose nameget returns the empty string (which is a falsy value in JS). Before this rev., it triggered an infinite number of namegets, and the browser crashed. It was because the cell was re-rendered when the nameget returned, and in the rendering of the cell, it re-performed a nameget if the value was falsy. opw 1838255d
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions