[REM] website: redundant context attribute on a link
Since this is a website template, the `context` does not make much sense. Additionally, there is no search filter named `web_features`. Lastly, the action opened via this link already has a default search filter enabled [1]. [1]: https://github.com/odoo/odoo/blob/81f024b545c8ddeeed040fcde42db3f5f7e2a468/addons/website/views/website_views.xml#L17 closes odoo/odoo#35275 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<div class="dropdown-menu" role="menu">
|
||||
<a role="menuitem" href="#" data-action="customize_theme" class="dropdown-item" id="theme_customize">Customize Theme</a>
|
||||
<a role="menuitem" href="#" data-action="ace" class="dropdown-item" id="html_editor">HTML/CSS/JS Editor</a>
|
||||
<a role="menuitem" href="/web#action=website.action_website_add_features" class="dropdown-item" id="install_apps" context="{'search_default_web_features' : 1}">Add Features</a>
|
||||
<a role="menuitem" href="/web#action=website.action_website_add_features" class="dropdown-item" id="install_apps">Add Features</a>
|
||||
</div>
|
||||
</li>
|
||||
<!-- Promote -->
|
||||
|
||||
Reference in New Issue
Block a user