diff options
| author | Raphael Collet <rco@odoo.com> | 2017-08-11 16:02:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-11 16:02:27 +0200 |
| commit | 8efeb4c6fca0131570ed17c02dd822e44f7ade38 (patch) | |
| tree | e4167e74e9b35fa7c3f486b13b13e0b1177ace03 /addons/web_editor/static/src/js | |
| parent | 40197b38e550acc5ad9091096bbefd8a5291858d (diff) | |
[FIX] prefetch issues on computed fields (#18799)
When deciding to prefetch records (getting records from the cache with no value
for the field being fetched), if the field was computed `determine_value` would
just get all records, not limited by the normal prefetch limit; for large
recordsets this would generate gigantic prefetch lists for records we may not
need at all.
Fix by applying the `PREFETCH_MAX` limit to records from the cache as is done
in `_prefetch_field`.
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
