stock_putaway_hook
This technical module adds hooks to the core putaway method in Odoo, enabling other modules to plug in additional putaway strategies beyond the default product and category-based ones.
Key Features
- stock.location: Extends the _get_putaway_strategy method to support alternative putaway strategies through hooks.
- stock.location: Provides a _putaway_strategies property that can be extended by other modules to add new strategy keys.
- stock.location: Implements _alternative_putaway_strategy method to lookup putaway rules based on custom fields passed in context.
- stock.location: Adds a _putaway_strategy_finalizer hook for post-processing putaway location selection.
- stock.putaway.rule: Enables dynamic selector fields in tree views that become required or readonly based on context.