Do not rely on shipments order from sale in product kit test scenario
Closes #15016 (grafted from 58d67088854ac415c961f6c265da3b6e28ce1c37) --HG-- branch : 7.0
This commit is contained in:
1 parent
31c76b94eb
commit
bafd7d0bb5
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user