Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

how to hide app/modules from specific user group?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
rightsodoo12
5 Respostes
23947 Vistes
Avatar
Divya Vyas

Hello,

how to hide app/modules in apps from specific user group?


Thanks

1
Avatar
Descartar
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Best Answer

To hide specific apps or modules from a particular user group in Odoo, you can follow these steps:

1. Set User Access Rights (Security Groups)

  • Navigate to Users & Companies:
    • Go to Settings > Users & Companies > Users.
  • Create or Edit a User Group:
    • Navigate to Settings > Users & Companies > Groups.
    • Either create a new group or edit an existing one that should have restricted access.
  • Modify Access Rights:
    • For the group you want to restrict, adjust the Access Rights to remove permissions for the apps or modules you want to hide.
    • For example, if you want to hide the "Sales" app, make sure the group does not have any read, write, create, or delete rights for sale.order and related models.

2. Hide the Menu Items

If you want to prevent users in a specific group from seeing the menu items for certain apps or modules, you can hide the menu items using the groups attribute in the XML definition.

  • Locate the Menu Item XML:
    • Find the XML file where the menu item is defined for the app or module you want to hide.
  • Add the groups Attribute:
    • Modify the menu item to include the groups attribute, specifying the groups that should have access. Users not in these groups won't see the menu item.

Example:

xmlCopy code
  • In the above example, the "Sales" menu will only be visible to users in the base.group_user and sales_team.group_sale_manager groups.

3. Advanced: Hide the Entire Module

If you want to hide the entire module from a group, you can:

  • Override the Module’s Menu Definitions:
    • Create a custom module that overrides the menu items of the apps/modules you want to hide, restricting them to specific groups.
  • Using Python:
    • In some cases, you might need to write a Python method to control the visibility of apps based on user groups. This would involve overriding the get_menu_items method to filter out specific menus for certain groups.

4. Restrict Access to Apps in the App Switcher

If you want to hide the app from the main Odoo dashboard (app switcher), Odoo Enterprise users can:

  • Use Odoo's Enterprise Access Rights:
    • Go to Settings > Technical > User Interface > Menu Items and apply the appropriate group restrictions.

However, for Community Edition users, this requires custom development to restrict the visibility in the app switcher.

5. Test the Restrictions

  • Log in as a User in the Group:
    • After setting up the restrictions, log in as a user in the group to ensure the apps or modules are properly hidden and that access is restricted as expected.

These steps should help you hide specific apps or modules from particular user groups in Odoo. If you need more customized behavior, a small custom module might be required.

0
Avatar
Descartar
Avatar
Yahoo Baba Innovations Pvt.Ltd
Best Answer

Hello Divya Vyas ,


Have a look at this:  https://www.odoo.com/sk_SK/forum/pomoc-1/hide-app-214521

Thanks & Regards,

Name : Yahoo Baba

0
Avatar
Descartar
Avatar
Tamer Afifi
Best Answer

simply just do not give them access rights to this specific module or app by going to Settings >> Users and Companies >> Users then choose your specified user and edit

In case this module is custom and you can't find its access rights, you have to ask your developer to manage this

-1
Avatar
Descartar
Samuel Perez

That is not as simple as you put it. If you want for example, that the SUBSCRIPTIONS users (belonging to a Customer Service) are able to see the invoices linked to a subscription, you need to give them ACCOUNTING. Then, they are able to enter accounting and see all AR invoices. The intention is to see only subscription invoices, not all company sales. So it is not simple.

Avatar
Robert Förster
Best Answer

Hi Divya,


We had the same issue and installed a third party app for that reason (ie https://apps.odoo.com/apps/modules/15.0/kg_hide_menu/). Its not perfect but it works…

Keep in mind that data might still be accessible through RPC Calls.


Robert

-1
Avatar
Descartar
Manuel Alverdi

This app does not hide an app. It hides menus. Read the request before posting.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

You can easily hide apps/modules from specific users using this app.

https://apps.odoo.com/apps/modules/16.0/hide_menu_user/

Regards

-2
Avatar
Descartar
Manuel Alverdi

This app does not hide an app. It hides menus. Read the request before posting.

Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
[odoo 12] Permissions on field not showed
rights permissions odoo12
Avatar
Avatar
1
de jul. 20
4221
Odoo Mail Sending Limit Solved
odoo12
Avatar
Avatar
Avatar
2
de des. 23
16229
(Document type: Invoice, Operation: write) - (Records: [], User: 2)
odoo12
Avatar
0
d’oct. 23
33
Error while importing data in Odoo12: An unknown issue occurred during import (possibly lost connection, data limit exceeded or memory limits exceeded)
odoo12
Avatar
Avatar
Avatar
Avatar
3
d’oct. 23
790
Remove duplicate record when importing data from excel to Odoo
odoo12
Avatar
Avatar
1
d’oct. 23
569
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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