When a drop shipment transition to "waiting", we add the pending moves from the linked sales. When the drop shipment is done, the customer moves are done also.
The problem is if the customer moves are still in staging state when the drop shipment is done. This can happen because the sale moves are set to draft only in
_process_shipment which is triggered asynchronously by the drop shipment ship or done transition. So if the queue is too busy (or not working), the customer moves can still be in staging state when the shipment is done. So the move is not set to done (because staging can only transition to draft).
So for me we must ensure that we add as customer moves only draft moves.
|2022-01-06 12:27:18||ced||set||messageid: <1641468438.158119.DNIKSVTHCSRPLIXO.firstname.lastname@example.org>|
|2022-01-06 12:27:18||ced||link||issue11121 messages|
Showing 10 items. Show all history (warning: this could be VERY long)