Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Physical Inventory Access Rights

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
modelaccess rightsInventoryAdjustment
3 Respuestas
1921 Vistas
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
Mejor respuesta

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
Mejor respuesta

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
Mejor respuesta

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.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Restrict product quantity adjustments for Inventory / Users ✅ SOLVED
inventory access rights InventoryAdjustment Quickstart
Avatar
Avatar
1
mar 25
2919
How to override base model access rights in my custom module? Resuelto
security model override access rights
Avatar
Avatar
1
abr 25
11954
Back Date Inventory adjustment excel import Resuelto
InventoryAdjustment
Avatar
Avatar
1
jul 25
1545
Inventory Adjustment page is Blank | Would like to manually edit inventory numbers for initial count
InventoryAdjustment
Avatar
Avatar
Avatar
2
jun 25
1863
Odoo Enterprise 16 Inventory Adjustment Set to ZERO Products in Locations Resuelto
InventoryAdjustment
Avatar
Avatar
Avatar
2
dic 24
4787
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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