Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Why Doesn't the Hamburger Menu Show for My Custom Group User Despite Adding ir_ui_menu Access Right?

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
odoo 17
1 Répondre
2041 Vues
Avatar
red moon

I created a group and added the access right ir_ui_menu with full permissions (read, write, create, delete) to it, expecting to see the hamburger menu when logging in with a user in this group. The ir_ui_menu access right works for the Internal group (group_user), but the hamburger menu doesn't appear for the user in my new group. What could be the issue, and how can I fix it? Please keep the answer simple and clear.


To address the issue where the hamburger menu wasn’t showing for my custom group user in Odoo 17, despite adding the ir_ui_menu access right, here’s exactly what I did step-by-step to try to make the hamburger menu accessible, mimicking the Internal User group’s behavior:

  1. Created a Custom Group:
    • Went to Settings > Technical > User Interface > Groups in Odoo 17 (with Developer Mode enabled).
    • Created a new group named "Custom Group" and set its Application to "User types" to align with groups like Internal User.
    • Saved the group and noted its ID (e.g., base.group_custom_123).
  2. Added Full Access to ir_ui_menu:
    • Navigated to Settings > Technical > Security > Access Controls List.
    • Created a new access rule:
      • Name: access_ir_ui_menu_custom
      • Model: Menu (ir.ui.menu)
      • Group: Selected "Custom Group"
      • Permissions: Enabled all (Read, Write, Create, Delete) to give full access (1,1,1,1), similar to the Internal User group (base.group_user).
    • Saved and verified the rule was listed for ir.ui.menu.
  3. Added Read Access to res.users:
    • Noticed a 403: Forbidden error saying the user couldn’t access res.users, which seemed needed for the hamburger menu.
    • Went back to Settings > Technical > Security > Access Controls List.
    • Created another access rule:
      • Name: access_res_users_custom
      • Model: User (res.users)
      • Group: Selected "Custom Group"
      • Permissions: Enabled only Read (1,0,0,0) to allow reading user data without changes.
    • Saved and confirmed the rule was applied.
  4. Created a Test User with Only the Custom Group:
    • Went to Settings > Users & Companies > Users.
    • Created a new user:
      • Name: "Test User"
      • Email/Login: testuser@example.com (unique login)
      • Access Rights: In the Access Rights tab, unchecked all other groups (e.g., Internal User, Portal) and checked only "Custom Group".
    • Saved and verified the user had only the custom group assigned.
  5. Tested Login:
    • Logged out and logged in as the test user (testuser@example.com).
    • Checked if the hamburger menu appeared in the top-left corner.
  6. Cleared Cache:
    • Cleared the browser cache (Ctrl+Shift+Delete in Chrome, selected "Cached images and files").
    • Cleared server cache by deleting .pyc files: 
      find /path/to/odoo -name "*.pyc" -delete
    • Restarted the Odoo server: 
      sudo systemctl restart odoo
  7. Checked Record Rules for res.users:
    • Suspected a Record Rule was blocking res.users access.
    • Went to Settings > Technical > Security > Record Rules.
    • Searched for rules on the User model (res.users).
    • Found a rule restricting access to groups like Internal User, Portal, etc., but my custom group wasn’t included.
    • Added my custom group to the rule’s Groups field to allow access.
    • Saved the rule and retested login.

Despite these steps, the hamburger menu still didn’t appear for the test user in the custom group, even though the Internal User group shows it fine with similar ir_ui_menu access.

0
Avatar
Ignorer
Christoph Farnleitner

What exactly did you do?

Christoph Farnleitner

I wonder, what hamburger menu are you actually talking about..?

red moon
Auteur

class="o-dropdown dropdown o_navbar_apps_menu o-dropdown--no-caret"

Avatar
Christoph Farnleitner
Meilleure réponse

Ok, so we're probably talking about community. 

I however still don't get what you even try to achieve. By now you have a new user type that doesn't inherit anything and has access the model ir.ui.menu and res.users only. ir.ui.menu is where menu records are stored - this has nothing to do with the access to the actual modules/models/views/actions displayed within that menu.


You should give, for example

- https://www.odoo.com/documentation/17.0/applications/general/users/access_rights.html

- https://www.odoo.com/documentation/17.0/developer/tutorials/restrict_data_access.html

- https://www.odoo.com/documentation/17.0/developer/reference/backend/security.html#reference-security-acl

- https://www.odoo.com/slides/slide/group-access-rights-10139

a good read/listen

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Send Email after payment creted for invoice
odoo 17
Avatar
Avatar
Avatar
2
sept. 25
2496
Como heredo de un modal en Odoo 17
odoo 17
Avatar
0
janv. 25
1527
Customise receipt customer odoo point of sale
pos odoo 17
Avatar
Avatar
1
juin 25
1036
How to setup product that can be either a subscription or sold directly
Subscriptions odoo 17
Avatar
1
juin 25
2247
Tasks menu disappeared from Project menu (odoo 17 CE) Résolu
project odoo 17
Avatar
Avatar
2
avr. 25
1661
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now