summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-04-13 16:53:26 +0200
committerXavier Morel <xmo@odoo.com>2018-04-13 17:42:52 +0200
commit1e6da402d714ff6227125c3b41a4b8805464a953 (patch)
tree510e28dbc8b64cf75895dbc0c4d5a38858c18a46 /addons/web/static/src/js/views/basic/basic_controller.js
parent115fa8f2d72e26f2c9c0399ad9a35fea673ca9fc (diff)
[FIX] export performance regression from d28f8f7
d28f8f704febe030f9c068f895adf0b1ce3e8dc1 carefully clears only the relevant bit of the cache (only the top-level object which we're exporting), however the commit did not considert that _export_rows calls itself recursively for relational fields, and thus when exporting relational fields the relation would become the new top-level and get cache-cleared on every iteration, significantly slowing down cases where such records are shared and would need to be re-fetched every iteration, even more so if they're somewhat/somehow expensive. OPW-1833545 OPW-1836361
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions