~openerp-dev/openobject-server/saas-3-bug_1291322-ptr

  • Committer: Olivier Dony
  • Date: 2014-05-13 15:29:35 UTC
  • Revision ID: odo@openerp.com-20140513152935-tscga1ml7y1eb7cg
[FIX] orm.search_read: drop active_test context flag during the read() step

The active_test flag is meant for search(),
but when passed to search_read() it was also
propagated to the read() call.
This has little consequence normally because
read() ignores this flag, but it can have
side-effects when reading x2m fields or
function fields. They are likely to call
search() somewhere downstream, still with
 the propagated active_test flag, while
it should not be applied anymore.

Ultimately dropping this flag could be
done by read() in all cases, but changing
search_read() is less likely to block
exotic cases where the flag was passed
on purpose. Moving it to read() could
be done as a later step.
Filename Latest Rev Last Changed Committer Comment Size
..
debian 1119.1.138 14 years ago P. Christeas Merge commit 'c18f2a7474c9' into mdv-gpl3-py26 Diff
doc 4067.1.1 12 years ago Openerp Online [IMP] added doc directory, intended to be included Diff
history 3659 12 years ago Antony Lesuisse [IMP] directory cleanups, moved historical cruft i Diff
install 3659 12 years ago Antony Lesuisse [IMP] directory cleanups, moved historical cruft i Diff
openerp 3346.1.1 13 years ago Vo Minh Thu [IMP] openerp python module. - Some logging code Diff
openerpcommand 4761 11 years ago Vo Minh Thu [ADD] oe: provides sane (unfucked) command-line in Diff
scripts 4379 11 years ago Stephane Wirtel [ADD] Add a script to install all the modules in a Diff
win32 300 16 years ago ced KERNEL: add win32 compile Diff
.bzrignore 4357.2.66 11 years ago Christophe Simonis [IMP] rewrite win32/setup.py to generate dynamic f 209 bytes Diff Download File
LICENSE 3079 13 years ago Olivier Dony [IMP] license: renamed general license file, and i 34.1 KB Diff Download File
MANIFEST.in 5030 10 years ago Christophe Simonis [FIX] update MANIFEST.in to include openerp-gevent 233 bytes Diff Download File
File oe 4854.18.1 10 years ago Thibault Delavallée [CLEAN] or: reverted website-al unnecessary change 113 bytes Diff Download File
oe-bash-completion 4761 11 years ago Vo Minh Thu [ADD] oe: provides sane (unfucked) command-line in 1.9 KB Diff Download File
File openerp-gevent 4942.1.8 10 years ago Antony Lesuisse restore the original gevent detection 196 bytes Diff Download File
File openerp-server 4582.3.3 11 years ago Antony Lesuisse openerp apps main moved to cli ready for new comma 155 bytes Diff Download File
openerp-wsgi.py 4743.33.2 11 years ago Martin Trigaux [IMP] remove shebang 1.7 KB Diff Download File
README 4542 11 years ago Antony Lesuisse [IMP] improve experience on for openerp developers 1.2 KB Diff Download File
setup.cfg 3733 12 years ago Antony Lesuisse [IMP] redhat remove unused stuff 95 bytes Diff Download File
setup.nsi 4743.33.6 11 years ago Martin Trigaux [IMP] use exact writing for fsf address 13.7 KB Diff Download File
setup.py 5116 10 years ago Christophe Simonis [MERGE] forward port of branch 7.0 up to revid 528 6.1 KB Diff Download File
setup_rpm.sh 5031 10 years ago Christophe Simonis [FIX] correct RPM creation: quote files with a spa 744 bytes Diff Download File