Browse Source

[MIG] web_advanced_search_x2x: Migrated to 10.0

[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
pull/999/head
ralwafaie 8 years ago
committed by Pedro M. Baeza
parent
commit
26c820a2e4
  1. 3
      web_advanced_search/README.rst
  2. 2
      web_advanced_search/__openerp__.py
  3. 4
      web_advanced_search/static/src/js/web_advanced_search_x2x.js
  4. 2
      web_advanced_search/static/src/xml/web_advanced_search_x2x.xml

3
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 <hbrunn@therp.nl>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
* Rami Alwafaie <rami.alwafaie@initos.com>
Maintainer
----------

2
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)",

4
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()
);
},
});

2
web_advanced_search/static/src/xml/web_advanced_search_x2x.xml

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