Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Custom access permissions

Naroči se

Get notified when there's activity on this post

This question has been flagged
securitycustomizegroupspermissionsquickstart
2518 Prikazi
Avatar
Guillermo Joaquín Urquidi Campuzano (gjuc)

At times, Odoo’s safety levels may not cover our customers' expectations. This may be due to previous experiences in dealing with security issues, or for various reasons that lead them to restrict certain information, either to their employees in general or to a specific group of them.


It can also happen that users have a function that requires viewing information from several areas but in a restricted way, this in Odoo may need permissions from two or more applications to cover with their activities. Many times this causes that some tabs are shown by default with the most basic permission so customers don’t like it.


I share with you a standard flow that does not need Studio, which will allow you to make some modifications to the views of different menus or even an entire module using groups.


  • Logic and tools
  • Use case
  • Good practices

Logic and tools
  1. Activate the developer mode
  2. Menu items


Use case

A customer requires to hide the product menu in the sales app and the whole inventory application for all their sales people so they cannot see the raw materials and their costs, and not be able to see the warehouse operations. They know the SKU of all of their products so they don’t need to check the catalog on Odoo.


They are assigned with the permission of "View only own documents" in sales and the “User” configuration for the inventory. This allows them to see the delivery order whenever they confirm a quotation, but the issue is that it enables the inventory module and this generates conflict with the customer permissions.


They require that they can only see the delivery order shown through the smart button in the sale order but the sales people cannot see the inventory operations.




These are the tabs that are allowed with those permissions.



As mentioned above, the customer requires to hide the product menu and inventory application.



How to make it standard?


In sales:


Go to menu items -> search for "Sales" -> select "Sales" option


Once this option is selected, you must go to submenus.




Select the option "products".


As you can see, Odoo has default visibility for the "View only own documents" group.


This should be changed by the group that has the necessary permissions to review this menu.


Example: 


Only administrators and those who can view all commands will have access to this view.


Result:



To hide the Inventory module you must follow the same logic above. 


Go to menu items - > search for "inventory" -> select the option "Inventory" -> under the tab "Visibility" define that only administrators or some customized group can view the entire module. 


Result: 


The sales people assigned with this permissions now does not have the Inventory module available.



Good practices

It is crucial to consider the full flow of the customers to assess the feasibility of the restrictions.


In addition, it is essential to understand the database interface to determine whether hiding a menu or a complete model is necessary to meet customer expectations or is just a half solution.


For example, if you want to hide the contact menu, when adjusting the groups through "Menu Items", users will no longer have access to the module at all. However, if a user has billing, buying or selling permissions, they will be able to access the "Customers" or "Suppliers" menu from one of those modules, which would still allow access to the "res.partner" model in some way. Therefore, it is crucial to know the database and its menus to consider all possible ways in which a user with certain permissions could access a model that is tried to hide.


A deep review and good Odoo knowledge will facilitate the configuration of permissions in a clear and functional manner.


It is also essential to  understand customer needs in order to determine whether to use the predetermined groups or whether new user groups are required to achive the security objectives.



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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Group access permissings wrong Solved
groups permissions
Avatar
Avatar
1
feb. 23
3099
Set Field Permission for dynamically assigned group Solved
groups permissions
Avatar
Avatar
2
sep. 19
5268
Group wise field permission read,write Solved
groups permissions
Avatar
Avatar
1
jul. 19
6302
Security Fear: Make fields of a model secret without using groups attribute
security groups
Avatar
0
nov. 15
5720
How to display a view with one field removed for certain groups?
security groups
Avatar
Avatar
1
mar. 15
9272
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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