| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 794 |
| Technical Name |
oe_warehouse_stock_restrictions |
| License | OPL-1 |
| Website | https://odooerp.ae/ |
| Versions | 17.0 18.0 19.0 |
Key Features
Lock users to specific warehouses and locations with operation-level rules and a full audit trail
Per-User Warehouse Assignment
Enable Restrict Warehouse Access on a user record and assign one or more allowed warehouses for that user.
Location-Level Narrowing
Optionally narrow access down to specific stock locations within each allowed warehouse for fine-grained control.
Operation Type Filtering
Restrict users to specific operation types such as Receipts, Deliveries, or Internal Transfers, so staff only see their relevant flow.
Operation-Level Permissions
Independently allow or deny each user to View Stock, Perform Transfers, and Adjust Inventory.
Complete Audit Log
Every granted or denied attempt is recorded in the Warehouse Access Log with user, timestamp, action, target, result, and reason.
Read-Only Auditor Access
Grant auditors a dedicated read-only group for the full audit log without giving them any configuration rights.
Web, Mobile & Barcode
Restrictions enforced at the record level apply uniformly to the web client, the Inventory mobile app, the barcode app, and API calls.
Reports & Dashboards Respected
Because filtering happens at the database access level, every list, report, and dashboard automatically respects the user's allowed scope.
Automatic Log Cleanup
A built-in scheduled action (off by default) purges logs older than 180 days, plus a manual purge wizard to trim on demand.
User form with Warehouse Restrictions tab
Warehouse Access Log
Purge old logs wizard
User guide
Install the module, grant the manager group, restrict each user to their warehouses and locations, then review the access log to monitor activity.
1. Install the module
- Open Apps, remove the Apps filter, and search Warehouse Stock Restrictions.
- Click Install. The standard Inventory module is installed automatically as a dependency.
2. Grant administration rights
- Go to Settings > Users and Companies > Users.
- Open the user who will manage restrictions.
- Under Other, set Warehouse Restrictions to Warehouse Restriction Manager.
- Click Save.
3. Restrict a user
- Go to Settings > Users and Companies > Users and open the user you want to restrict.
- Open the Warehouse Restrictions tab.
- Tick Restrict Warehouse Access.
- Choose the Allowed Warehouses for the user.
- (Optional) Pick specific Allowed Operation Types. If left empty, all operation types of the allowed warehouses are available.
- (Optional) Pick specific Allowed Stock Locations. If left empty, all locations of the allowed warehouses are available.
- Tick the operation-level checkboxes: Can View Stock, Can Perform Transfers, Can Adjust Inventory.
- Click Save. The user is immediately restricted. There is no need to log them out.
4. Review access logs
- Go to Inventory > Configuration > Warehouse Restrictions > Access Logs.
- Use the filters (Denied, Granted, Today, Last 7 Days) and the Group By options (User, Warehouse, Operation) to spot suspicious behaviour.
- Click any row to open the full record, then click Open Record to jump straight to the underlying transfer, quant, or location.
5. (Optional) Purge old logs
- Manually: Go to Inventory > Configuration > Warehouse Restrictions > Purge Old Logs, choose how many days to keep, then click Purge Logs.
- Automatically: Enable the scheduled action Warehouse Restrictions: Purge Old Access Logs under Settings > Technical > Scheduled Actions.
Frequently Asked Questions
1. Will this block administrators?
2. What happens to a user with no allowed warehouses?
3. Does it affect reports and dashboards?
4. Will it slow down my Odoo instance?
5. Can the audit log be tampered with by users?
6. Will it work with the Inventory mobile and barcode apps?
7. Which security groups are provided?
Module Support & SLA
Standard response time (SLA) for support queries is typically 1 to 2 working days.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 794 |
| Technical Name |
oe_warehouse_stock_restrictions |
| License | OPL-1 |
| Website | https://odooerp.ae/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
There are no comments yet!