summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-06-20 15:10:57 +0200
committerOlivier Dony <odo@openerp.com>2013-06-20 15:10:57 +0200
commit9a5e317618e19386379b1c35056e2e808b8f5d80 (patch)
treed33279f9b88b76fef846489819e3adfb6fad0bcd /addons/web/static/src
parent00d0318c5b83ac4f0dde9d9a12b2bf9cd13f2868 (diff)
[FIX] OPW 592482: browse_record should not prefetch binary fields
This was apparently a long-standing issue due to a strange handling of the _prefetch attribute on columns: accessing a column would only trigger the prefetching if its _prefetch attribute was True, but the prefetching itself would also prefetch columns that had _prefetch False. We clearly want it the other way around, or at least we want _prefetch to decide whether a column is included in any given prefetching pass. We can skip the prefetching pass when the only field being accessed has _prefetch False because it is likely the other fields have already been prefetched separately. This last subtlety should not make any noticeable performance difference. lp bug: https://launchpad.net/bugs/1177965 fixed bzr revid: odo@openerp.com-20130620131057-v7s4qfqj976j3ufo
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions