odoo/openerp
Olivier Dony 9a5e317618 [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
2013-06-20 15:10:57 +02:00
..
addons Launchpad automatic translations update. 2013-06-20 06:35:09 +00:00
cli [IMP] clean permissions and shebang in files 2013-05-14 12:33:33 +02:00
conf cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready. 2012-12-09 18:04:47 +01:00
modules [IMP] modules loading: log as INFO test files because, if they are logged as TEST, the loading statement get lost in the mass of real TEST logs in case there are a lot of test files (more visible that way) + there are no reason to special case these files 2013-05-07 11:24:22 +02:00
osv [FIX] OPW 592482: browse_record should not prefetch binary fields 2013-06-20 15:10:57 +02:00
report [FIX] trml2pdf: reportlab 2.4.4 doesn't support the previous syntax (sname in self.default_style) 2013-06-03 11:30:48 +02:00
service [FIX] correct stripping of arguments when _reexec() OpenERP 2013-06-12 17:19:12 +02:00
tests [FIX] openerp/tests/test_mail.py marked executable as it should 2013-05-17 12:29:33 +02:00
tools [FIX] correct stripping of arguments when _reexec() OpenERP 2013-06-12 17:19:12 +02:00
workflow [MERGE] From trunk (second time) 2012-12-17 15:47:53 +01:00
.apidoc API doc: move settings file from bin/ to openerp/ 2011-06-23 12:08:07 +03:00
PKG-INFO
__init__.py [FIX] timezone: under windows os.environ["TZ"] was not affecting the server, 2013-03-07 13:16:37 +01:00
exceptions.py [FIX] xmlrpc: handle old/new exceptions with old/new clients. 2011-09-30 10:50:12 +02:00
import_xml.rng [IMP] rng: forbid redundant @type for menuitem, now inferred from the action type + minor cleanup 2012-08-22 16:49:46 +02:00
loglevels.py [FIX] incorrect docstrings or docstring param names not matching actual param names 2012-12-14 14:07:58 +01:00
netsvc.py [IMP] clean permissions and shebang in files 2013-05-14 12:33:33 +02:00
pooler.py [IMP] cron: remove useless pooljobs and schedule_cron_jobs methods 2012-12-21 14:37:51 +01:00
release.py [FIX] we are not in alpha anymore 2013-01-03 18:08:09 +01:00
sql_db.py [FIX] *: fix/rationalize db logging to avoid incorrect values during logging 2013-03-01 13:07:44 +01:00