lp://staging/~openerp-dev/openobject-server/7.0-bug-1203727-order-by
- Get this branch:
- bzr branch lp://staging/~openerp-dev/openobject-server/7.0-bug-1203727-order-by
Branch merges
Related bugs
Bug #1203727: 7.0: res.partner - name_search applies limit too early | Low | Fix Released |
Related blueprints
Branch information
Recent revisions
- 5066. By Olivier Dony (Odoo)
-
[FIX] res.partner: current name_search() implementation tends to skip a few valid results during early autocompletion - mitigation attempt
The main reason for the semi-random behavior
observed during auto-completion is the
missing ORDER BY clause in the pre-filtering
SQL query.The ORDER BY clause is expensive but inevitable
if we want to apply a correct LIMIT, otherwise
we would return random `limit` results among
all the possible matches.The current SQL query seems convoluted due
to the duplicated CASE clause but it
performs slightly better than the equivalent
CTE-based (WITH...) query, so it was preferred.There is still a chance of returning too
few results due to double limit application,
as further discussed in bug 1203727 - 5065. By Olivier Dony (Odoo)
-
[DOC] module dev: description of view attributes @edit|@
create| @delete, courtesy of Alexande Fayolle (Camptopcamp) - 5063. By Olivier Dony (Odoo)
-
[FIX] ir.filters: deduplicate redundant ACL on ir.filters
By default everybody should be able to read and modify
filters, and this is coupled with a global ir.rule that
only permits viewing and touching global filters and
owned filters. - 5059. By Denis Ledoux (OpenERP)
-
[FIX]res_config: in _install_modules, result returned by button_
immediate_ install must be returned, in order to launch the action if there is one. TODO fix,at the moment, if there are missing modules, this return statement prevent their installation
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openobject-server/7.0