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

Closes #15016
(grafted from 58d67088854ac415c961f6c265da3b6e28ce1c37)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-08-16 23:51:22 +02:00
parent e22d717e8a
commit e8adf18a55
@@ -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()