Merge lp://qastaging/~tsabi/openobject-server/7.0-tsabi-res_partner_name_search_limit_fix into lp://qastaging/openobject-server/7.0
Status: | Rejected |
---|---|
Rejected by: | Olivier Dony (Odoo) |
Proposed branch: | lp://qastaging/~tsabi/openobject-server/7.0-tsabi-res_partner_name_search_limit_fix |
Merge into: | lp://qastaging/openobject-server/7.0 |
Diff against target: |
55 lines (+25/-5) 2 files modified
openerp/addons/base/res/res_partner.py (+1/-5) openerp/addons/base/test/base_test.yml (+24/-0) |
To merge this branch: | bzr merge lp://qastaging/~tsabi/openobject-server/7.0-tsabi-res_partner_name_search_limit_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Needs Fixing | ||
Csaba TOTH (community) | Needs Resubmitting | ||
Naresh(OpenERP) (community) | Needs Fixing | ||
Alexandre Fayolle - camptocamp (community) | code review, no test | Needs Fixing | |
Review via email:
|
Description of the change
a better fix than MP 173713 (https:/
the idea is to imply the limit only once: if args are provided than at the last search, if args not provided than don't do the last pointless search, but apply limit in the sql code
Unmerged revisions
- 5034. By Csaba TOTH
-
Update by a suggestion of Naresh Soni
- 5033. By Csaba TOTH
-
Automated test by Alexandre Fayolle (source: https:/
/launchpadlibra rian.net/ 145738156/ res_partner_ test_lp1203727. diff) - 5032. By Csaba TOTH
-
a better fix than MP 173713 (https:/
/code.launchpad .net/~openerp- dev/openobject- server/ 7.0-opw- 593596- msh/+merge/ 173713) the idea is to imply the limit once: if args are provided than at the last search, if args not provided than don't do the last search, than apply limit for the sql code
Hello. I've linked your branch to lp:1203727. I added a YAML test for that bug. It would be great if you could include that test in your branch as it would help seeing if the fix works via the runbot.
YAML test diff : https:/ /bugs.launchpad .net/openobject -server/ +bug/1203727/ +attachment/ 3747233/ +files/ res_partner_ test_lp1203727. diff