Browse Source

[FIX][web_advanced_search_x2x] Do not hide filter when clicking in it

Fixes #703.
pull/704/head
Jairo Llopis 7 years ago
parent
commit
709c11c842
  1. 4
      web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js

4
web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js

@ -36,6 +36,10 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
this.operators.push({
'value': 'domain', 'text': core._lt('is in selection'),
});
// Avoid hiding filter when using special widgets
this.events["click"] = function (event) {
event.stopPropagation();
}
return this._super.apply(this, arguments);
},

Loading…
Cancel
Save