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

Access Rights

Subscriure's

Get notified when there's activity on this post

This question has been flagged
securitysettingsres.partneraccess rightsUsers
2 Respostes
14462 Vistes
Avatar
husam amin

Hello,
I have multi-users (res.partner) ,

I need to give all of them access rights for " but" every user has different access 

Like John has full user/all documents but can't Delete any record in sales,

Ahmad is the Administrator, and Andy has user/all documents "but" only view.

Without affecting other users

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

To manage different access rights for users in Odoo while ensuring specific permissions for each user or group, you can use Odoo's security groups and record rules. Here's how you can set this up:

Steps to Configure Access Rights:

  1. Create or Modify User Groups:
    • Go to Settings > Users & Companies > Groups.
    • Create new groups or modify existing ones to define different levels of access. For example, you can create groups like "Sales Full Access" and "Sales View Only."
  2. Define Access Control Lists (ACLs):
    • Access Control Lists define what actions users in a group can perform on various models.
    • Go to Settings > Technical > Security > Access Control Lists.
    • Create or modify records to set permissions for each group. For instance, you can set ACLs to allow creating, writing, and reading records but deny deletion for the "Sales Full Access" group.
  3. Set Record Rules:
    • Record rules allow you to define what records users can access based on conditions.
    • Go to Settings > Technical > Security > Record Rules.
    • Create new rules to enforce specific access requirements. For instance, you can create a rule to restrict delete access for sales orders to users in the "Sales Full Access" group.

Example Configuration:

1. Create User Groups:

  • Sales Full Access:
    • Users in this group can perform all actions except deletion in the sales module.
  • Sales View Only:
    • Users in this group can only view sales orders but not create or edit them.
  • Administrator:
    • Users in this group have full access to all modules and records.

2. Define ACLs:

  • For "Sales Full Access":
    • Allow create, write, and read permissions on the sale.order model.
    • Deny delete permissions on the sale.order model.
xmlCopy code
    Sales Full Access
    
    
    
    
    
    

  • For "Sales View Only":
    • Allow read-only permissions on the sale.order model.
xmlCopy code
    Sales View Only
    
    
    
    
    
    

3. Set Record Rules:

  • Prevent Deletion in Sales Orders for "Sales Full Access":
xmlCopy code
    Sales Orders - No Delete
    
    
    [('id', '!=', False)]
    

  • Restrict Sales Orders Access to View Only for "Sales View Only":
xmlCopy code
    Sales Orders - View Only
    
    
    [('id', '!=', False)]
    
    
    
    

Apply the Changes:

  • Update your module with these changes.
  • Restart the Odoo server and update the module to apply the new permissions.

By following these steps, you can control access to specific functionalities in Odoo based on user groups, ensuring that each user has the appropriate level of access according to your requirements.

1
Avatar
Descartar
Avatar
Liza Meleshkevich
Best Answer

I see there’s already a good answer above explaining how to manage different access rights for users in Odoo.

In my turn, I’d recommend reading a good guide on the relationship between Roles, Groups, Access Rights, Users, and Permissions in Odoo.

There’s also a useful example showing how to set up access rights for a new user.

0
Avatar
Descartar
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
What is the difference between "Settings" and "Access Rights" ?? Solved
settings access rights
Avatar
Avatar
Avatar
Avatar
3
de set. 25
6449
Limiting visibility of record in certain modules only
security res.partner
Avatar
Avatar
1
de gen. 22
3511
Allow "Write a note" and Send a message to users with no write access (Odoo 13)
security access rights Odoo13
Avatar
0
de des. 22
3846
How to disable password change for the uses? Solved
security settings v7
Avatar
Avatar
Avatar
Avatar
4
de gen. 19
11093
User rights - configuration page available for users
security access rights odoo9
Avatar
0
d’abr. 16
3957
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