Stock Move Line Change Lot
stock_move_line_change_lot · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
Improve the standard process of changing a lot on a move line.
When changing a lot on a move line, check available quantity and, if necessary, switch reservation with other moves lines.
It never "steal" for already picked lines (quantity done > 0). However, it can switch with pickings already printed. This is required for drill-through locations where you need to invert the reservations.
If the new lot only matches partially the initial reserved quantity, the reservation of this line will decrease to match what is available and a new move line will be created to recover the missing quantity.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (1)-
write(self, vals)
Loading…