summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/__init__.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-01-29 11:55:48 +0100
committerMartin Trigaux <mat@openerp.com>2014-01-29 11:55:48 +0100
commit05ec12692f99b69924765fd0ce384632547f03f9 (patch)
tree47fdcbe2e5606a6404bfce28019700c0e9878aca /addons/analytic_user_function/__init__.py
parentb0e7dd938229edd23a770a5adc510dd790fd062a (diff)
[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). lp bug: https://launchpad.net/bugs/1203727 fixed bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
Diffstat (limited to 'addons/analytic_user_function/__init__.py')
0 files changed, 0 insertions, 0 deletions