diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-04-20 15:36:06 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-04-23 08:20:23 +0200 |
| commit | e43b9ab9c6f29aa7bba46ed945afaa634f2241cb (patch) | |
| tree | 5a62b65f21bf5731a41b2026eee8b5dac2549b14 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 851356bf2388c21ec5d6f68a505d067a4f758d3b (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/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
