stock_move_forced_lot
⧉ View on GitHubPurpose
This module allows setting a specific lot in procurement values to force the generated stock moves to reserve only that lot.
Features
- stock.move: Adds a forced_lot_id field to stock moves for specifying the lot to reserve.
- stock.move: Modifies available quantity calculation to consider the forced lot when no specific lot is provided.
- stock.move: Updates reservation logic to prioritize the forced lot during stock allocation.
- stock.move: Prevents merging of stock moves that have different forced lot IDs.
- stock.rule: Automatically sets the forced lot ID on stock moves generated from procurements that include a lot specification.