Skip to content

Commit c46818b

Browse files
committed
[FIX] Fix bug in line 148
1 parent 9f41010 commit c46818b

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
@@ -146,7 +146,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
146146
var domain_list = [];
147147
var blacklist = this.get_search_blacklist();
148148
if(!_(blacklist).isEmpty()){
149-
domain_list.push(blacklist);
149+
domain_list.push(['id', 'not in', blacklist]);
150150
}
151151
var can_search_mru = (self.options && self.is_option_set(self.options.search_mru)),
152152
search_mru_undef = _.isUndefined(self.options.search_mru),

0 commit comments

Comments
 (0)