OdooWiki OCA HUB

Stock Warehouse Security

stock_warehouse_security folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse Management License: AGPL-3

With this module you are able to set a restricted list of allowed warehouses that user can see and operate with.

This module is inspired from the experiences of stock_warehouse_security on version 12.0 but has some key differences on user experience:

  • In this module there is no new groups, user is able to see allowed warehouses only or all if not set.
  • So in this module there is no "current warehouse" concept on user ( in v12.0 that module was based on base_multi_warehouse which allowed users to switch between warehouses).

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you limit which warehouses each user can see and work with in Odoo. If no warehouse is set on the user, they keep full access to all warehouses.

This module adds a field called Allowed Warehouses on the user form, under the Access Rights tab, in a new Multi Warehouse group. There you can pick one or several warehouses for each user.

Once warehouses are selected for a user, Odoo automatically hides everything belonging to other warehouses. The restriction applies to stock locations, operation types, transfers, stock moves and move lines, stock quants (on-hand quantities), packages and reordering rules. Records that are not linked to any warehouse stay visible.

  • If the Allowed Warehouses field is left empty, the user sees all warehouses as before.
  • The restriction is applied everywhere in Odoo, not only in menus, so lists, searches and reports only show the allowed warehouses.
  • Product availability calculations are also filtered, so quantities shown for a product only count locations inside the allowed warehouses.

No new user groups are created: the behaviour is driven purely by the warehouses assigned on the user. This is useful in multi-warehouse companies where each team should only handle its own warehouse.

Depends on

stock
Models and fields (2)
  • res.users · extends an existing modelwarehouse_ids (Allowed Warehouses)
  • product.product · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 19.0

Each user administrators is able to defined allowed warehouse.

No warehouse define in such list means no restrictions.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.