Stock Warehouse Access

Restrict user access per warehouse

Technical Name:
stock_warehouse_access
Version:
12.0
License:
Author:
Numigi
Website:
https://kastor.lab.numigi.net/web/image/product.template/1435/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Stock Warehouse Access

This module adds extra access rules to the Inventory application.

Summary

Users are assigned to one or multiple warehouses.

They can only access inventory objects from their assigned warehouse.

These objects include:

  • Inventories
  • Locations
  • Packages
  • Scrap Entries
  • Stock Move Lines
  • Stock Moves
  • Stock Picking Types
  • Stock Pickings
  • Stock Quants
  • Warehouses

Objects related to no warehouses are visible to all users.

The new rules defined by the module are independant from multi-company rules.

These rules are applied to all users (even OdooBot), not just basic members of the Inventory / User.

The module only restricts web requests. It has no impact on the internal behavior of Odoo. Therefore, you can but do not need to apply specific rules to OdooBot.

Configuration

As system administrator, I go to the form view of a user.

I notice 2 new fields:

  • All Warehouses
  • Authorized Warehouses
static/description/user_form.png

If I check All Warehouses, the user is allowed to access the data of all warehouses.

static/description/user_form_all_warehouses.png

If I let All Warehouses unchecked, then only the warehouses selected in Authorized Warehouses are authorized for this user.

static/description/user_form_authorized_warehouses.png

Usage

As member of the group Inventory / User, I go to the Inventory app.

I notice that only operation types of my own warehouse are displayed.

static/description/picking_type_kanban.png

If I go to the list of stock moves, I notice the same behavior.

static/description/stock_move_list.png

Contributors