İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
6918 Görünümler

we use V12 community.

how can we remove the "Support" Entry from the DropDown Menu in the top right location (When clicking on the username)


Avatar
Vazgeç

Enhance your Odoo interface with the Streamlined User Account Menu module. This efficient tool allows you to remove unnecessary options from the User Account Menu, resulting in a cleaner and more focused user experience. Ideal for businesses seeking to declutter their Odoo instance and maintain a professional and user-friendly environment.

https://apps.odoo.com/apps/modules/17.0/mh_hide_odoo_brand_from_user_account_menu

En İyi Yanıt

Hi,

You can extend the corresponding template in using XML, 


<t t-extend="UserMenu">

<t t-jquery="div.dropdown-menu.dropdown-menu-right"

t-operation="replace">

<div class="dropdown-menu dropdown-menu-right" role="menu">

<a role="menuitem" href="#" data-menu="settings"

class="dropdown-item">Preferences</a>

<a role="menuitem" href="#" data-menu="logout"

class="dropdown-item">Log out</a>

</div>

</t>

The above is a sample code where the entire user menu is replaced and only show the preference and logout button.


You can check this file in github to get the code with indentations : https://github.com/CybroOdoo/CybroAddons/blob/12.0/odoo-debrand/static/src/xml/base.xml


This is the code from the Debranding module: Odoo Debranding

Thanks

Avatar
Vazgeç
En İyi Yanıt


There is Addon-module, which does the Debranding of Odoo, Not just 'support' menu, you can also remove various stuffs such as 'powered by Odoo', etc

Debranding-V12 (by Cybrosys)

or

Debranding - V12 (by Hilar AK)

Avatar
Vazgeç