Skip to content

Commit 03ce849

Browse files
committed
[FIX] Fix bug in line 148
1 parent db24c73 commit 03ce849

File tree

1 file changed

+1
-1
lines changed
  • web_m2x_options/static/src/js

1 file changed

+1
-1
lines changed

web_m2x_options/static/src/js/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
145145
var domain_list = [];
146146
var blacklist = this.get_search_blacklist();
147147
if(!_(blacklist).isEmpty()){
148-
domain_list.push(blacklist);
148+
domain_list.push(['id', 'not in', blacklist]);
149149
}
150150
var can_search_mru = (self.options && self.is_option_set(self.options.search_mru)),
151151
search_mru_undef = _.isUndefined(self.options.search_mru),

0 commit comments

Comments
 (0)