summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2017-08-11 16:02:27 +0200
committerGitHub <noreply@github.com>2017-08-11 16:02:27 +0200
commit8efeb4c6fca0131570ed17c02dd822e44f7ade38 (patch)
treee4167e74e9b35fa7c3f486b13b13e0b1177ace03 /addons/web/static/src/js/widgets
parent40197b38e550acc5ad9091096bbefd8a5291858d (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/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions