mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG][REF] web_advanced_search: Rename, refactor, migrate
* Complete migration to v11 * Refactor to use the new v11 decoupled widgets system * Advanced search is now a high-level feature from the filters menu; it simplifies code a lot, and the UX is even better * Split README system * Add fun to ROADMAP * Addon is renamed to web_advanced_search, since it enhaces the searching experience for all kind of fields now
This commit is contained in:
committed by
Ivàn Todorovich
parent
b0ffa80316
commit
50f118a63d
13
web_advanced_search/static/src/xml/web_advanced_search.xml
Normal file
13
web_advanced_search/static/src/xml/web_advanced_search.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2017-2018 Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<templates>
|
||||
<t t-extend="SearchView.FilterMenu">
|
||||
<t t-jquery=".o_filters_menu" t-operation="append">
|
||||
<li class="divider"/>
|
||||
<li>
|
||||
<a class="o_add_advanced_search">Add Advanced Filter</a>
|
||||
</li>
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2017 Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
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.x2x_widget_name()">
|
||||
<div class="x2x_container"/>
|
||||
</t>
|
||||
<t t-if="!widget.x2x_widget_name()">
|
||||
<input type="text"/>
|
||||
</t>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user