stock_move_auto_assign
This module automatically checks and assigns available stock to waiting stock moves when a move is completed or canceled, using background jobs to minimize impact on user operations.
Key Features
- stock.move: Triggers automatic availability check when a stock move is marked as done.
- stock.move: Triggers automatic availability check when a stock move with reservations is canceled.
- stock.move: Only triggers checks for moves without successors and with internal destination locations.
- stock.move: Generates one background job per product to check availability in related locations.
- product.product: Searches for waiting stock moves in parent locations that can be assigned.
- product.product: Locks related pickings to prevent conflicts during stock assignment.
- product.product: Automatically assigns stock to eligible waiting moves.