Ensure sale move are added as draft to drop shipment
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.