summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-01-29 14:22:40 +0100
committerMartin Trigaux <mat@openerp.com>2014-01-29 14:22:40 +0100
commit8a0f1b249515734f11328ae777b7fc31b6800e3c (patch)
treeed05cff149266781cc39dfb061cbd448b05ff9df /addons/analytic_user_function
parent23778030cd344a9674d56d738ecf4013a40a7009 (diff)
parentcb4ce12d3a4ce3ed53dfb3f19ce76744142d9eb0 (diff)
[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). bzr revid: mat@openerp.com-20140129132240-eamnzs37k0i65gpe
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions