Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3862 มุมมอง

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

คำตอบที่ดีที่สุด

Hi,

Here is blog for 16 :

https://www.cybrosys.com/blog/how-to-create-and-manage-a-new-user-menu-in-odoo-16

If you want hide menu items Check out this app:

https://apps.odoo.com/apps/modules/16.0/hide_menu_user/

Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi 

Check this references


https://www.odoo.com/forum/help-1/remove-user-menu-item-like-preference-my-odoo-account-etc-in-15-0-202814


Hope this Helps

Regards

อวตาร
ละทิ้ง