Hoppa till innehåll
Odoo Meny
  • Logga in
  • Prova gratis
  • Appar
    Ekonomi
    • Bokföring
    • Faktura
    • Utgifter
    • Kalkylark (Affärsanalyser)
    • Dokument
    • Underskrifter
    Försäljning
    • CRM
    • Försäljning
    • Kassasystem Butik
    • Kassasystem Restaurang
    • Prenumerationer
    • Uthyrning
    Hemsida
    • Hemsidesverktyg
    • E-handel
    • Blogg
    • Forum
    • Livechatt
    • Utbildning
    Försörjningskedja
    • Lager
    • Produktion
    • Produktens livscykel (PLM)
    • Inköp
    • Underhåll
    • Kvalitet
    HR
    • Anställda
    • Rekrytering
    • Ledighet
    • Utvärderingar
    • Rekommendationer
    • Fordon
    Marknadsföring
    • Sociala medier
    • E-postmarknadsföring
    • Sms-marknadsföring
    • Evenemang
    • Automatiserad marknadsföring
    • Enkäter
    Tjänster
    • Projekt
    • Tidrapporter
    • Fältservice
    • Kundtjänst
    • Planering
    • Tidsbokningar
    Produktivitet
    • Diskutera
    • AI
    • IoT
    • VoIP
    • Kunskap
    • WhatsApp
    Community-appar Odoo Studio Odoo Cloud
  • Branscher
    Butiker
    • Bokaffärer
    • Klädbutiker
    • Möbelaffärer
    • Mataffärer
    • Byggvaruhus
    • Leksaksaffärer
    Restaurang & Hotell
    • Barer och pubar
    • Restauranger
    • Snabbmatsrestauranger
    • Gästhus
    • Dryckesdistributörer
    • Hotell
    Fastigheter
    • Fastighetsbyråer
    • Arkitektfirmor
    • Byggföretag
    • Fastighetsägare
    • Trädgårdsmästare
    • Bostadsrättsföreningar
    Hitta en konsult
    • Redovisningsbyrå
    • Odoo Partner
    • Reklambyråer
    • Advokatbyråer
    • Rekrytering
    • Revisioner och certifieringar
    Produktion
    • Textilproduktion
    • Metallproduktion
    • Möbelproduktion
    • Livsmedelsproduktion
    • Bryggerier
    • Företagsgåvor
    Hälsa och fitness
    • Sportklubbar
    • Optiker
    • Träningscenter
    • Friskvård
    • Apotek
    • Frisörsalonger
    Hantverk
    • Hantverkare
    • IT-utrustning och kundtjänst
    • Solceller, solpaneler och solenergi
    • Skomakare
    • Städföretag
    • VVS-tjänster
    Övrigt
    • Ideella föreningar
    • Miljöförvaltningar
    • Uthyrning av reklamtavlor
    • Fotografer
    • Cykeluthyrning
    • Återförsäljare av mjukvara
    Upptäck alla Branscher
  • Community
    Utbildning
    • Instruktionsvideor
    • Dokumentation
    • Certifiering
    • Utbildningar
    • Blogg
    • Podcast
    Lär dig med oss
    • Workshops
    • Företagsspelet Scale Up!
    • Studiebesök hos Odoo
    Mjukvaran
    • Ladda ner
    • Jämför utgåvor
    • Versionsinformation
    Samverkan
    • GitHub
    • Forum
    • Evenemang
    • Översättningar
    • Bli en partner
    • Partnertjänster
    • Registrera din redovisningsbyrå
    Våra tjänster
    • Partners
    • Revisorer
    • Träffa en rådgivare
    • Implementering
    • Kundrecensioner
    • Kundtjänst
    • Uppgraderingar
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Boka en demo
  • Priser
  • Hjälp
Du måste vara registrerad för att kunna interagera med communityn.
Alla inlägg Personer Utmärkelser
Etiketter (Visa alla)
odoo accounting v14 pos v15
Om detta forum
Du måste vara registrerad för att kunna interagera med communityn.
Alla inlägg Personer Utmärkelser
Etiketter (Visa alla)
odoo accounting v14 pos v15
Om detta forum
Hjälp

how to hide app/modules from specific user group?

Prenumerera

Få ett meddelande när det finns aktivitet på detta inlägg

Denna fråga har flaggats
rightsodoo12
5 Svar
27419 Vyer
Avatar
Divya Vyas

Hello,

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


Thanks

1
Avatar
Avbryt
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Bästa svar

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
Avbryt
Avatar
Yahoo Baba Innovations Pvt.Ltd
Bästa svar

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
Avbryt
Avatar
Tamer Afifi
Bästa svar

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
Avbryt
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
Bästa svar

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

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

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bästa svar

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

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

Njuter du av diskussionen? Läs inte bara, delta också!

Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!

Registrera dig
Relaterade inlägg Svar Vyer Verksamhet
[odoo 12] Permissions on field not showed
rights permissions odoo12
Avatar
Avatar
1
juli 20
5449
Survey User
odoo12
Avatar
1
apr. 26
4187
Odoo Mail Sending Limit Löst
odoo12
Avatar
Avatar
Avatar
2
dec. 23
18637
(Document type: Invoice, Operation: write) - (Records: [], User: 2)
odoo12
Avatar
0
okt. 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
okt. 23
790
Community
  • Instruktionsvideor
  • Dokumentation
  • Forum
Öppen källkod
  • Ladda ner
  • GitHub
  • Runbot
  • Översättningar
Tjänster
  • Odoo.sh Hosting
  • Kundtjänst
  • Uppgradera
  • Anpassningsbara modifikationer
  • Utbildning
  • Revisorer
  • Partners
  • Bli en partner
Om oss
  • Vårt företag
  • Varumärkestillgångar
  • Kontakta oss
  • Jobb
  • Evenemang
  • Podcast
  • Blogg
  • Kunder
  • Juridiskt • Integritet
  • Säkerhet
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo är ett affärssystem med öppen källkod som täcker alla dina företagsbehov: CRM, e-handel, bokföring, lager, kassasystem, projektledning, och så vidare.

Odoos unika värdeförslag är att samtidigt vara väldigt enkel att använda men också helt integrerad.

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