Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
odoo 17
1 Responder
2052 Visualizações
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
Cancelar
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
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Send Email after payment creted for invoice
odoo 17
Avatar
Avatar
Avatar
2
set. 25
2515
Como heredo de un modal en Odoo 17
odoo 17
Avatar
0
jan. 25
1537
Customise receipt customer odoo point of sale
pos odoo 17
Avatar
Avatar
1
jun. 25
1042
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) Resolvido
project odoo 17
Avatar
Avatar
2
abr. 25
1666
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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