[FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x

This commit is contained in:
Jairo Llopis
2017-07-12 14:32:05 +02:00
committed by Ivàn Todorovich
parent c08bd3571f
commit ffa10a8247
4 changed files with 66 additions and 52 deletions

View File

@@ -3,12 +3,11 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<templates>
<t t-name="web_advanced_search_x2x.proposition">
<t t-if="widget.relational">
<!-- This wrapper fixes CSS styiling -->
<div class="oe_form"/>
<t t-if="widget.x2x_widget_name()">
<div class="x2x_container"/>
</t>
<t t-if="!widget.relational">
<t t-call="SearchView.extended_search.proposition" />
<t t-if="!widget.x2x_widget_name()">
<input type="text"/>
</t>
</t>
</templates>