summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-03-02 14:26:39 +0100
committerRaphael Collet <rco@openerp.com>2015-03-03 09:38:36 +0100
commit021c1a26c55c9f9b9be6269c64d06c350ad1f5fe (patch)
tree7e38cb156fffee545561bc81dd9fd1a2b8a5c0c7 /addons/analytic_user_function/analytic_user_function.py
parentdc41a9b645edf54121fefafe83b687a80b9de66b (diff)
[IMP] fields: improve performance when reading many2one fields on records
Improve the performance of `name_get()` on many2one field values by making sure that the records on which `name_get` is invoked are prefetched in cache. This is not automatic, because `name_get` is invoked on records in another environment (sudo mode): the prefetching in the original environment should be reproduced in the other environment.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions