Search 1.9 billion lines of Odoo code on GitHub

web_contextual_search_favorite

Author: Numigi
License: LGPL-3
Branch: 11.0
Repository: Numigi/odoo-web-addons
Dependencies: board, and web
Languages: JSON (11, 2.2%), JavaScript (442, 87.2%), Python (18, 3.6%), XML (12, 2.4%), and reStructuredText (24, 4.7%)
Other branches: 11.0-website_sale_sanitized, 12.0, 12.0-web_list_column_text_align, 14.0, TA#47984, TA#48575, and TA#48575-1

<h1 class="title">Web Contextual Search Favorite</h1> <p>In a list view, when you add a favorite by clicking on Favorites -&gt; Save current search (or Add to my Dashboard), the saved filters are not contextual.</p> <p>Odoo evaluates the search filters at the moment you click on the button and stores the result in your custom search filter or dashboard.</p> <p>This behavior comes with an important limitation. Filters based on date ranges need to be deleted and recreated every time you need to use them.</p> <p>This module prevents the evaluation of the domain when the custom filter is saved. This way, each time you apply your filter, it will be evaulated based on the current day.</p> <a name="building-assets"></a> <h2>Building Assets</h2> <p>If you modify a javascript file of this module, then you might need to rebuild the javascrip assets.</p> <p>Make sure you have webpack-cli installed. `` npm install -g webpack-cli ``</p> <p>In order to rebuild the assets, open a terminal and execute the following commands:</p> <p>`` cd web_contextual_search_favorite/static webpack-cli ``</p> <a name="contributors"></a> <h2>Contributors</h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul>