Warehouse Location & Operation Restriction
by Community of Accountants https://www.communityofaccountants.com$ 99.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) |
| Lines of code | 381 |
| Technical Name |
coa_location_restrictions |
| License | AGPL-3 |
| Website | https://www.communityofaccountants.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) |
| Lines of code | 381 |
| Technical Name |
coa_location_restrictions |
| License | AGPL-3 |
| Website | https://www.communityofaccountants.com |
Warehouse Location & Operation Restriction
Enforce strict user-level access controls on warehouse locations, stock zones, and picking operation types. Recursive authorization, ORM-level filtering, and active validation guards — all natively inside Odoo.
Complete Access Control for Your Warehouse Team
Three layers of restriction — warehouses, locations, and operations — all manageable from a single user form tab.
Recursive Location Paths
Assign a parent stock location and automatically grant access to all its child shelves, rows, and bins — without mapping each one individually.
Picking Operation Constraints
Scope users to specific operation types — Receipts, Deliveries, Internal Transfers — and block all others. Clear separation of duties, no overlap.
ORM-Level Fast Querying
Restrictions are injected at the Odoo ORM _search hook — not in a view filter layer. Zero performance degradation even on large catalogs.
Validation Interceptor Guard
Attempts to validate a stock picking involving restricted locations are blocked with a clear error message — even through external API calls.
Warehouse-Level Access Filter
Restrict which warehouses a user can view or interact with. Filtered at the search query level — restricted warehouses are completely hidden.
Per-User Configuration
Every user has their own independent restriction profile. Admin users bypass all restrictions by default — no blanket policy conflicts.
Configuration Directly on the Odoo User Form
A new "Location Restrictions" tab is added to every user record. No separate menu, no new models to navigate.
Who Needs This Module
Designed for businesses with multi-warehouse operations, strict audit requirements, or multi-department stock teams.
Multi-Branch Distributors
Limit each branch's warehouse operator to only their assigned storage zones. Prevent accidental or unauthorized cross-location transfers.
Audit-Ready Manufacturers
Meet internal control requirements by ensuring only authorized personnel can view or validate movements within sensitive production areas.
Retail Chains & Franchises
Assign store managers to their specific store locations. Prevent store staff from viewing or modifying stock data at other franchise locations.
Complete Inventory Security Feature Set
Engineered to satisfy strict internal corporate stock control and financial audit requirements.
Warehouse Search Filtering
Filters the stock.warehouse model at the ORM search hook layer. Restricted users only see warehouses they are explicitly authorized to access.
Recursive Child Location Grant
Assigning a parent location automatically includes all its sub-locations recursively — eliminating the need to map every individual shelf or bin.
Operation Type Scoping
Limit users to specific picking operations (Receipts, Deliveries, Transfers). All other operations are hidden from their view.
Picking Validation Guard
Backend write hooks intercept and block stock.picking validations if source or destination locations are outside the user's allowed zones.
Stock Quant Level Masking
Filters the stock.quant model at query level. Restricted employees only see on-hand quantities for locations they are permitted to access.
Odoo 19 _search Hook Architecture
Rebuilt using the v19 ORM _search override pattern — the correct, performance-safe approach replacing deprecated domain-based hooks.
Technical Specifications
Pure Python ORM overrides — no custom security groups, no XML record rules required.
| Odoo Compatibility | Odoo 19.0 (Community & Enterprise) Certified |
| Dependencies | stock mail |
| License | AGPL-3 — Open source with copyleft |
| Core ORM Models | res.users stock.picking stock.quant stock.location |
| Security Standard | User-level database guard · Audit compliant · API-call protected |
| Publisher | Community of Accountants · communityofaccountants.com |
Please log in to comment on this module