Skip to content

Update origin of inventory moves on shipment out

Maxime Richez requested to merge topic/default/pack-pick-lot into branch/default

Closes #12272 (closed)

Origin of inventory moves are outgoing stock moves. When using stock_lot, new outgoing_moves are created with lot and outgoing stock moves quantity is set to zero. Those moves with zero quantity are deleted when packing the shipment, and then inventory moves lose their origin. Now, that you could go back to picked state, it's needed to update the origin of the inventory moves with the new outgoing moves.

Edited by Maxime Richez

Merge request reports

Loading