Merge PR #1677 into 13.0

Signed-off-by pedrobaeza
pull/1681/head
OCA-git-bot 2020-09-07 15:14:08 +00:00
commit 42ca7e3835
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ odoo.define("web_m2x_options.web_m2x_options", function(require) {
_search: function(search_val) { _search: function(search_val) {
var self = this; var self = this;
if (search_val === undefined) {
return this._super.apply(this, arguments);
}
var def = new Promise(resolve => { var def = new Promise(resolve => {
// Add options limit used to change number of selections record // Add options limit used to change number of selections record
// returned. // returned.