[MIG] web_advanced_search_x2x: Migrated to 10.0

[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
This commit is contained in:
ralwafaie
2017-04-19 08:33:01 +02:00
committed by Pedro M. Baeza
parent 0d4c24625a
commit 26c820a2e4
4 changed files with 6 additions and 5 deletions

View File

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

View File

@@ -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>