[FIX] OWP 593963 : limit results when opening "search more" as it's really slow when lot of records in database
bzr revid: acl@openerp.com-20130905092122-47ynnssvvvo4aef2
This commit is contained in:
parent
dc07d21f86
commit
1bd6608df9
|
@ -2934,7 +2934,7 @@ instance.web.form.CompletionFieldMixin = {
|
|||
values.push({
|
||||
label: _t("Search More..."),
|
||||
action: function() {
|
||||
dataset.name_search(search_val, self.build_domain(), 'ilike', false).done(function(data) {
|
||||
dataset.name_search(search_val, self.build_domain(), 'ilike', 160).done(function(data) {
|
||||
self._search_create_popup("search", data);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue