Skip to content
Snippets Groups Projects
Commit 7aadcf11 authored by Naglis Jonaitis's avatar Naglis Jonaitis
Browse files

[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: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 5c8342f9
Branches
Tags
No related merge requests found
......@@ -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 -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment