stock_operating_unit
Introduce operating unit dimension and security controls into stock management.
Key Features
- stock.warehouse: allows assigning an operating unit to warehouses with a default from the user's operating units
- stock.warehouse.orderpoint: prevents reordering rules that combine warehouses and locations from different operating units
- stock.location: adds operating units to locations while restricting them to internal locations and requiring consistency with parent locations and related warehouses
- stock.picking: sets the requesting operating unit from the picking type's warehouse and enforces it matches that warehouse
- stock.move: exposes source and destination operating units from locations and requires each move's locations to include the requesting operating unit of the picking
- stock.rule: relates procurement rules to the operating unit of their warehouse
- stock.quant: stores the operating unit inherited from the quant's location
- views: displays operating unit fields and group-by filters across warehouse, location, picking, and move views for multi operating unit management
- security: restricts visibility of warehouses, locations, picking types, pickings, moves, move lines, and quants to the user's allowed operating units
- configuration: initializes the main warehouse and internal stock location with the main operating unit