lp://qastaging/~openerp-dev/openobject-server/7.0-partner-name-search-limit-mat
- Get this branch:
- bzr branch lp://qastaging/~openerp-dev/openobject-server/7.0-partner-name-search-limit-mat
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 97 lines (+40/-15)2 files modifiedopenerp/addons/base/res/res_partner.py (+26/-15)
openerp/addons/base/tests/test_base.py (+14/-0)
Related bugs
Bug #1203727: 7.0: res.partner - name_search applies limit too early | Low | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 5220. By Martin Trigaux (OpenERP)
-
[IMP] make sure the records will be in right order (and trigger chirurgiens-
dentistes. fr for the second name_search) - 5219. By Martin Trigaux (OpenERP)
-
[FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
- 5216. By Martin Trigaux (OpenERP)
-
[IMP] remove useless variable, where_clause at least '' as created from a str.join()
- 5215. By Martin Trigaux (OpenERP)
-
[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).
- 5214. By Martin Trigaux (OpenERP)
-
[MERGE] [FIX] expression: do not look at translation in parse when searching with empty string or false
This fixes traceback when applying filter 'is not set' on a translatable field
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/openobject-server/7.0