stock_picking_return_lot
This module enhances the stock picking return process for lot-tracked products by automatically pre-filling return lines with original delivery lots.
Key Features
- stock.return.picking: Splits return lines by lot for tracked products
- stock.return.picking: Automatically pre-fills lots from original picking
- stock.return.picking: Shows lots column in return wizard when applicable
- stock.return.picking: Resets quantities to returnable amounts per lot when using 'Return All'
- stock.return.picking: Propagates restricted lots to move lines in created return picking
- stock.return.picking.line: Adds lot_id field to return lines with uniqueness constraint
- stock.return.picking.line: Sets restrict_lot_id on moves based on selected lot
- stock.return.picking.line: Calculates restricted quantity per lot
- stock.return.picking.line: Triggers quantity validation when lot changes