summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-04-13 14:26:33 +0200
committerRaphael Collet <rco@openerp.com>2015-05-07 11:29:19 +0200
commit0a83ee4c34c32d5c83ab55846c5dea953e554131 (patch)
treeabdfe0dbf8172acb407c8b4b24a28eb9c2f6db15 /addons/web/static/src/css
parentd7b1595ddb99cc4f789d03aac90c16309ec46332 (diff)
[IMP] models: allow prefetching of fields in draft mode but not in onchange mode
Change the condition to disable the prefetching in onchange mode only. The prefetching of fields was disabled in draft mode in order to handle the case of onchanges on records: computed fields must to be recomputed and not fetched from database. This saves a few queries when computing a field. For instance, viewing a question on the forum takes 66 queries instead of 85.
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions