Open requested to merge topic/default/pack-pick-lot into branch/default
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.