From b13f0324bb31175f72bf9046647d7564f6dda38f Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Thu, 23 Feb 2017 09:31:42 +0100 Subject: [PATCH] Make other operators work again --- .../static/src/js/web_advanced_search_x2x.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js b/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js index 7c6af676..0684aa16 100644 --- a/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js +++ b/web_advanced_search_x2x/static/src/js/web_advanced_search_x2x.js @@ -196,6 +196,8 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) { * @return {jQuery.Deferred} */ value_rerender: function () { + this.value._x2x_field && this.value._x2x_field.destroy(); + delete this.value._x2x_field; return this.value.appendTo( this.$(".searchview_extended_prop_value").show().empty() );