From bafd7d0bb580d719610ab69452060edf30aba37d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 16 Aug 2026 23:51:22 +0200 Subject: [PATCH] Do not rely on shipments order from sale in product kit test scenario Closes #15016 (grafted from 58d67088854ac415c961f6c265da3b6e28ce1c37) --HG-- branch : 7.0 --- modules/product_kit/tests/scenario_product_kit_sale.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/product_kit/tests/scenario_product_kit_sale.rst b/modules/product_kit/tests/scenario_product_kit_sale.rst index 81a6d74bce..d8969a6701 100644 --- a/modules/product_kit/tests/scenario_product_kit_sale.rst +++ b/modules/product_kit/tests/scenario_product_kit_sale.rst @@ -277,7 +277,7 @@ Handle shipment exception:: >>> shipment_exception.form.recreate_moves.remove(move) >>> 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()