Hi Everyone,
i am trying to remove some user menu items yet i cant seem to find the way, i have found a tutorial on Cybrosys for odoo 15 not 16 unfortonately i cant share it het but it is on Cybrosys with the name :How to Create & Manage a New User Menu in Odoo 15
with the user menu items i mean when you click on your profile/picture
and you see documentation etc.
is this still relevant or can anyone help me with this!?
I tried no result i dont understand what she means by :
Manifest:
'assets': {'web.assets_backend': ['Your custom module name/static/src/js/menu.js']},
//For remove menu:
patch(UserMenu.prototype, "Your custom module name.UserMenu", {
setup() {
this._super.appy(this, arguments);
userMenuRegistry.remove("documentation");
},
});
i dont understand your custom module ??
i just created a js file and put it in C:\Program Files\Odoo\server\odoo\addons\web\static\src\webclient\user_menu and than i manifested in here C:\Program Files\Odoo\server\odoo\addons\web
i am a bit new to js so if anyone can help out XD
Hi Cybrosys techo solutions ,
thankyou for your response, the blog only tells how to add not delete.
and in your module i cant hide : Documentation, support and my odoo account.
if anyone else has a idea i would love to hear this !
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