Do not rely on shipments order from sale in product kit test scenario

Closes #15016
This commit is contained in:
Cédric Krier
2026-08-16 23:51:22 +02:00
parent 1e0b40696f
commit 51003a7071
@@ -272,7 +272,7 @@ Handle shipment exception::
... [('product', '=', product1.id)]))
>>> shipment_exception.execute('handle')
>>> _, _, shipment = sale.shipments
>>> shipment, = [s for s in sale.shipments if s.state == 'waiting']
>>> len(shipment.outgoing_moves)
1
>>> backorder.reload()