diff --git a/web_advanced_search/static/src/js/web_advanced_search_x2x.js b/web_advanced_search/static/src/js/web_advanced_search_x2x.js index 4f36b9e2..06cc0eea 100644 --- a/web_advanced_search/static/src/js/web_advanced_search_x2x.js +++ b/web_advanced_search/static/src/js/web_advanced_search_x2x.js @@ -38,9 +38,11 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) { 'value': 'domain', 'text': core._lt('is in selection'), }); // Avoid hiding filter when using special widgets - this.events["click"] = function (event) { - event.stopPropagation(); - } + this.events = $.extend({}, this.events, { + click: function (event) { + event.stopPropagation(); + }, + }); return this._super.apply(this, arguments); },