Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
odoo 17
1 Odpovědět
2067 Zobrazení
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
Zrušit
Christoph Farnleitner

What exactly did you do?

Christoph Farnleitner

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

red moon
Autor

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

Avatar
Christoph Farnleitner
Nejlepší odpověď

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
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Send Email after payment creted for invoice
odoo 17
Avatar
Avatar
Avatar
2
zář 25
2532
Como heredo de un modal en Odoo 17
odoo 17
Avatar
0
led 25
1544
Customise receipt customer odoo point of sale
pos odoo 17
Avatar
Avatar
1
čvn 25
1058
How to setup product that can be either a subscription or sold directly
Subscriptions odoo 17
Avatar
1
čvn 25
2262
Tasks menu disappeared from Project menu (odoo 17 CE) Vyřešeno
project odoo 17
Avatar
Avatar
2
dub 25
1689
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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