Duplicated moves when setting lots on shipment quantities
Steps to reproduce:
1. Activate sale stock and stock_lot modules
2. Create a sale for a product, process it and open it's shipment out.
3. Set a lot for the incomming move
4. Assign and pack the shipment
Current behaviour:
- Two outgoing moves are created, one with the lot quantity and another with zero quantity.
Expected behaviour:
- Only a single move is create with the incomming lot set (this was the behaviour before #8363 (closed)).
Also the move with zero quantity is the linked to the invoice line and the move with the quantity is not linked to any invoice line.