diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-01-29 14:22:40 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-01-29 14:22:40 +0100 |
| commit | 8a0f1b249515734f11328ae777b7fc31b6800e3c (patch) | |
| tree | ed05cff149266781cc39dfb061cbd448b05ff9df /addons/analytic_user_function/analytic_user_function.py | |
| parent | 23778030cd344a9674d56d738ecf4013a40a7009 (diff) | |
| parent | cb4ce12d3a4ce3ed53dfb3f19ce76744142d9eb0 (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/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
