sale_stock_operating_unit
This module integrates operating units with sales and stock operations to ensure consistency across sale orders, warehouses, and pickings.
Key Features
- sale.order: Automatically assigns the appropriate warehouse to sale orders based on their operating unit.
- sale.order: Enforces that the operating unit of a sale order matches the operating unit of its assigned warehouse.
- stock.move: Propagates the operating unit from sale order lines to newly created pickings.
- stock.warehouse: Prevents changing the operating unit of a warehouse if it has associated sale orders with different operating units.