From 54522c455d300e735cf04f13d39c2d9b4cd8c8b2 Mon Sep 17 00:00:00 2001 From: ralwafaie Date: Wed, 19 Apr 2017 08:33:01 +0200 Subject: [PATCH] [MIG] web_advanced_search_x2x: Migrated to 10.0 [MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks --- web_advanced_search/README.rst | 3 ++- web_advanced_search/__openerp__.py | 2 +- web_advanced_search/static/src/js/web_advanced_search_x2x.js | 4 ++-- .../static/src/xml/web_advanced_search_x2x.xml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web_advanced_search/README.rst b/web_advanced_search/README.rst index 548ef398..26615be6 100644 --- a/web_advanced_search/README.rst +++ b/web_advanced_search/README.rst @@ -32,7 +32,7 @@ Note that you can stack searching for properties: Simply add another advanced se .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/154/9.0 + :target: https://runbot.odoo-community.org/runbot/162/10.0 Known issues / Roadmap ====================== @@ -50,6 +50,7 @@ Contributors * Holger Brunn * Vicent Cubells * Jairo Llopis +* Rami Alwafaie Maintainer ---------- diff --git a/web_advanced_search/__openerp__.py b/web_advanced_search/__openerp__.py index a02f3b93..e2fac328 100644 --- a/web_advanced_search/__openerp__.py +++ b/web_advanced_search/__openerp__.py @@ -5,7 +5,7 @@ { "name": "Search x2x fields", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "author": "Therp BV, " "Tecnativa, " "Odoo Community Association (OCA)", 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 0684aa16..69fa621c 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 @@ -143,7 +143,7 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) { }, get_operator: function () { return !this.isDestroyed() && - this.getParent().$('.searchview_extended_prop_op').val(); + this.getParent().$('.o_searchview_extended_prop_op').val(); }, get_value: function () { try { @@ -199,7 +199,7 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) { 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() + this.$(".o_searchview_extended_prop_value").show().empty() ); }, }); diff --git a/web_advanced_search/static/src/xml/web_advanced_search_x2x.xml b/web_advanced_search/static/src/xml/web_advanced_search_x2x.xml index 74e4a86e..1440acf2 100644 --- a/web_advanced_search/static/src/xml/web_advanced_search_x2x.xml +++ b/web_advanced_search/static/src/xml/web_advanced_search_x2x.xml @@ -8,7 +8,7 @@
- +