~acsone-openerp/openobject-server/7.0-xml-test-report

  • Committer: Martin Trigaux
  • Date: 2014-01-29 13:22:40 UTC
  • mfrom: (5214.1.6 partner-search)
  • Revision ID: mat@openerp.com-20140129132240-eamnzs37k0i65gpe
[MERGE] [FIX] res_partner: name_search search in one pass

The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.

This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
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
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 3714 12 years ago Antony Lesuisse [FIX] packaging MANIFEST.in sdist includes everyth 263 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 4972.1.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 4972.1.6 11 years ago Martin Trigaux [IMP] use exact writing for fsf address 13.7 KB Diff Download File
setup.py 4972.1.2 11 years ago Martin Trigaux [IMP] remove shebang 6 KB Diff Download File
setup_rpm.sh 3659 12 years ago Antony Lesuisse [IMP] directory cleanups, moved historical cruft i 673 bytes Diff Download File