3
0
Fork 0

[MIG] web_advanced_search_x2x: Migrated to 10.0

[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
16.0
ralwafaie 2017-04-19 08:33:01 +02:00 committed by Raf Ven
parent 0c984c5b3a
commit 54496bef25
4 changed files with 6 additions and 5 deletions

View File

@ -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 .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :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 Known issues / Roadmap
====================== ======================
@ -50,6 +50,7 @@ Contributors
* Holger Brunn <hbrunn@therp.nl> * Holger Brunn <hbrunn@therp.nl>
* Vicent Cubells <vicent.cubells@tecnativa.com> * Vicent Cubells <vicent.cubells@tecnativa.com>
* Jairo Llopis <jairo.llopis@tecnativa.com> * Jairo Llopis <jairo.llopis@tecnativa.com>
* Rami Alwafaie <rami.alwafaie@initos.com>
Maintainer Maintainer
---------- ----------

View File

@ -5,7 +5,7 @@
{ {
"name": "Search x2x fields", "name": "Search x2x fields",
"version": "9.0.1.0.0", "version": "10.0.1.0.0",
"author": "Therp BV, " "author": "Therp BV, "
"Tecnativa, " "Tecnativa, "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",

View File

@ -143,7 +143,7 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
}, },
get_operator: function () { get_operator: function () {
return !this.isDestroyed() && return !this.isDestroyed() &&
this.getParent().$('.searchview_extended_prop_op').val(); this.getParent().$('.o_searchview_extended_prop_op').val();
}, },
get_value: function () { get_value: function () {
try { try {
@ -199,7 +199,7 @@ odoo.define('web_advanced_search_x2x.search_filters', function (require) {
this.value._x2x_field && this.value._x2x_field.destroy(); this.value._x2x_field && this.value._x2x_field.destroy();
delete this.value._x2x_field; delete this.value._x2x_field;
return this.value.appendTo( return this.value.appendTo(
this.$(".searchview_extended_prop_value").show().empty() this.$(".o_searchview_extended_prop_value").show().empty()
); );
}, },
}); });

View File

@ -8,7 +8,7 @@
<div class="oe_form"/> <div class="oe_form"/>
</t> </t>
<t t-if="!widget.relational"> <t t-if="!widget.relational">
<t t-call="SearchView.extended_search.proposition.char" /> <t t-call="SearchView.extended_search.proposition" />
</t> </t>
</t> </t>
</templates> </templates>