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

Fixes #703.
pull/704/head
Jairo Llopis 2017-08-21 13:46:59 +02:00
parent 5cb0d4974f
commit 709c11c842
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
this.operators.push({ this.operators.push({
'value': 'domain', 'text': core._lt('is in selection'), '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); return this._super.apply(this, arguments);
}, },