Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

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

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
odoo 17
1 Beantwoorden
2059 Weergaven
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
Annuleer
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
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Send Email after payment creted for invoice
odoo 17
Avatar
Avatar
Avatar
2
sep. 25
2519
Como heredo de un modal en Odoo 17
odoo 17
Avatar
0
jan. 25
1541
Customise receipt customer odoo point of sale
pos odoo 17
Avatar
Avatar
1
jun. 25
1046
How to setup product that can be either a subscription or sold directly
Subscriptions odoo 17
Avatar
1
jun. 25
2253
Tasks menu disappeared from Project menu (odoo 17 CE) Opgelost
project odoo 17
Avatar
Avatar
2
apr. 25
1668
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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