diff options
| author | Xavier Morel <xmo@odoo.com> | 2018-04-13 16:53:26 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2018-04-13 17:42:52 +0200 |
| commit | 1e6da402d714ff6227125c3b41a4b8805464a953 (patch) | |
| tree | 510e28dbc8b64cf75895dbc0c4d5a38858c18a46 /doc/reference/javascript_reference.rst | |
| parent | 115fa8f2d72e26f2c9c0399ad9a35fea673ca9fc (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 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
