stock_warehouse_security
This module enables restricting user access to specific warehouses in Odoo, allowing administrators to define a list of allowed warehouses for each user to limit their visibility and operations within the stock management system.
Key Features
- res.users: Adds a many-to-many field for selecting allowed warehouses on user records.
- stock.location: Applies record rules to restrict access to locations based on associated warehouses.
- stock.picking.type: Applies record rules to restrict access to picking types based on associated warehouses.
- stock.picking: Applies record rules to restrict access to stock pickings based on picking type warehouses.
- stock.move: Applies record rules to restrict access to stock moves based on picking type warehouses.
- stock.move.line: Applies record rules to restrict access to stock move lines based on picking type warehouses.
- stock.quant: Applies record rules to restrict access to stock quants based on location warehouses.
- stock.quant.package: Applies record rules to restrict access to stock quant packages based on location warehouses.
- stock.warehouse.orderpoint: Applies record rules to restrict access to warehouse orderpoints based on associated warehouses.
- warehouse security: Ensures users can read all warehouses to set their preferred default warehouse despite restrictions.
- warehouse security: Allows unrestricted access when no warehouses are specified for a user.
- warehouse security: Supports multi-company environments with warehouse restrictions.