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

how to hide app/modules from specific user group?

S'inscrire

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

Cette question a été signalée
rightsodoo12
5 Réponses
23952 Vues
Avatar
Divya Vyas

Hello,

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


Thanks

1
Avatar
Ignorer
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Meilleure réponse

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
Ignorer
Avatar
Yahoo Baba Innovations Pvt.Ltd
Meilleure réponse

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
Ignorer
Avatar
Tamer Afifi
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Manuel Alverdi

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

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

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
Ignorer
Manuel Alverdi

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

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é
[odoo 12] Permissions on field not showed
rights permissions odoo12
Avatar
Avatar
1
juil. 20
4221
Odoo Mail Sending Limit Résolu
odoo12
Avatar
Avatar
Avatar
2
déc. 23
16229
(Document type: Invoice, Operation: write) - (Records: [], User: 2)
odoo12
Avatar
0
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
oct. 23
790
Remove duplicate record when importing data from excel to Odoo
odoo12
Avatar
Avatar
1
oct. 23
569
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