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

Physical Inventory Access Rights

Subscriure's

Get notified when there's activity on this post

This question has been flagged
modelaccess rightsInventoryAdjustment
3 Respostes
1865 Vistes
Avatar
National Co.

Hi


How to give a non-administrator user access to the physical inventory menu?


Can anyone tell me the "Access Rights name and model"?



Thanks

0
Avatar
Descartar
Chris TRINGHAM

Which version of Odoo?

National Co.
Autor

Hello Piyush

I can't find  ir.model.access, my database version is saas~18.2+e (Enterprise Edition)

If that's normal, how to create it if it doesn't exist?


For all the rest steps, I can do it.


Thanks



Chris TRINGHAM

In v18 inventory users should be able to access the Physical Inventory menu, but the Cybrosys answer should help you (but I don't think departments are a standard feature).

National Co.
Autor

Hello Cybrosys


I have added the "Limited User" to stock.quant model as the picture, but still get "Access Error." 


Should I create a "Record rule" for the Limited User Group? If so, how do I creat this rule?


Thanks

image0


Chris TRINGHAM

What does the error message say? It might give you a clue.

You can read this to get more information: https://odootricks.tips/odoo-model-access/

National Co.
Autor

Hello Chris

The user I need to grant permission to is not standard; it's custom (named Limited User), with specific menus and access rights.

Bellow the error message when I click Physical Inventory...



Thanks



Chris TRINGHAM

I see, so you have created a new user access group for the "Inventory / Limited User" which can do physical inventory but not some other things.

This is a complex area and from my own experience it needs a lot of checking and testing ("trial and error") and it's very difficult to diagnose the problem(s) from screenshots.

National Co.
Autor

Hello Chris


Yes, it's a new user access group with specified access rights.


Do you mean this place?, If not, where to find it?

Thanks

Chris TRINGHAM

Yes, see my updated answer.

National Co.
Autor

Hello Chris

Thank you very much for your help; it's worked like a charm after adding the "Limited User" to the menu Allowed Groups.


Avatar
Chris TRINGHAM
Best Answer

I think it may because this menu option calls a Server Action that is only available for Inventory / User

Go to menu items, find Physical Inventory and then click on the second part of the Action

Then you can change who is authorized:

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

You can set access rights in a model by navigating to Settings → Technical → Database Structure → Models. First, you need to enable Developer Mode.

stock.quant is the model used for physical inventory. If you open the stock.quant model, you can see tabs such as Fields, Access Rights, Record Rules, Notes, and Views. You can set access rights under the Access Rights tab in the model



In this example:

-Internal Users can only read stock.quant records.

-Inventory Users can read, write, and create stock.quant records, but cannot delete them.

You can set read, write, create, and delete access rights for a model based on user groups


Record rule:

In Odoo, Record Rules define which records users can access within a model, based on filter conditions (domains) and user groups.

 


- Users can access only the stock quant records that belong to departments they are associated with.


Hope it helps.


0
Avatar
Descartar
Avatar
Piyush H
Best Answer

To give a non-administrator user access to the physical inventory menu in Odoo, you need to adjust their access rights. Here's how you can do it, along with the relevant access rights name and model:

1. Access Rights and Model

  • Model: ir.model.access
  • You'll need to find or create an access right record that grants the necessary permissions for the "inventory.adjustment" model (which is used for physical inventories).

2. Steps to Grant Access

Activate Developer Mode:

  • First, activate Odoo's developer mode. Go to Settings and scroll down to the bottom of the page. Click "Activate the developer mode".

Navigate to Groups:

  • Go to Settings > Users & Companies > Groups.

Edit or Create a Group:

  • You can either modify an existing group or create a new one for your inventory users.
  • To create a new group, click "Create". Give it a descriptive name (e.g., "Inventory Counter").

Access Rights Tab:

  • In the group form, go to the "Access Rights" tab.
  • Click "Add a line".
  • In the "Model" field, search for and select "inventory.adjustment".
  • Enable the following options as appropriate:
    • Read: Allows the user to see existing physical inventory records.
    • Create: Allows the user to create new physical inventory records.
    • Write: Allows the user to edit existing physical inventory records.
    • Delete: Allows the user to delete physical inventory records (use caution with this one).

Assign Users to the Group:

  • Go to the "Users" tab on the group form.
  • Click "Add a line" and add the users who need access to physical inventories.

Important Considerations

  • Existing Groups: Carefully consider whether to modify existing groups. Adding users to powerful groups (like "Inventory / User") might grant them more access than you intend.
  • Minimum Necessary Access: Grant only the minimum access required for the user to perform their job.
  • Testing: Always test the new access rights to ensure they work as expected and don't grant unintended permissions.
  • Administrator Role: Only a user with "Access Rights" administration rights can modify access rights. Be careful when changing these settings, as incorrect settings can negatively impact your database. Odoo recommends contacting an Odoo Business Analyst or their Support Team before making changes to access rights.


🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)

-1
Avatar
Descartar
Chris TRINGHAM

Do you really want feedback?

This answer is partially correct, but a lot of the advice is very misleading or just wrong and therefore unhelpful. So it won't save people time, and it will increase frustration.

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
Restrict product quantity adjustments for Inventory / Users ✅ SOLVED
inventory access rights InventoryAdjustment Quickstart
Avatar
Avatar
1
de març 25
2879
How to override base model access rights in my custom module? Solved
security model override access rights
Avatar
Avatar
1
d’abr. 25
11918
Back Date Inventory adjustment excel import Solved
InventoryAdjustment
Avatar
Avatar
1
de jul. 25
1500
Inventory Adjustment page is Blank | Would like to manually edit inventory numbers for initial count
InventoryAdjustment
Avatar
Avatar
Avatar
2
de juny 25
1836
Odoo Enterprise 16 Inventory Adjustment Set to ZERO Products in Locations Solved
InventoryAdjustment
Avatar
Avatar
Avatar
2
de des. 24
4726
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