While working on Odoo, I encountered a UI-related requirement to hide the “My Profile / Preferences” option from the user menu (top-right corner) for specific users.
Challenge:
Initially, this seemed achievable through Access Rights or View customization. However, the menu is rendered from the frontend layer (OWL), making traditional backend approaches ineffective.
Solution:
After exploring multiple approaches, I implemented a practical solution using a lightweight Odoo App that modifies the user menu behavior and removes the “My Profile” option for targeted users.
Result:
Successfully restricted access to profile settings for selected users
Maintained system integrity without complex custom development
Delivered a clean and controlled user interface aligned with business requirements