lp:~openerp-dev/openobject-server/6.0-bug-1071710-chs
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/6.0-bug-1071710-chs
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 75 lines (+25/-4)2 files modifiedbin/addons/base/test/test_osv_expression.yml (+14/-1)
bin/osv/expression.py (+11/-3)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3672. By Christophe Simonis (OpenERP)
-
[FIX] expression: allow exclusion of records with translated fields
- 3664. By Olivier Dony (Odoo)
-
[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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server/6.0