Search 1.9 billion lines of Odoo code on GitHub

web_contextual_search_favorite

Author: Numigi
License: LGPL-3
Branch: 11.0-website_sale_sanitized
Repository: Numigi/odoo-web-addons
Dependencies: web
Languages: JSON (10, 2.2%), JavaScript (391, 87.3%), Python (15, 3.3%), XML (11, 2.5%), and reStructuredText (21, 4.7%)
Other branches: 11.0, 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>In order to rebuild the assets, open a terminal and execute the following commands:</p> <p>`` cd web_contextual_search_favorite/static npm install node_modules/.bin/webpack ``</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>