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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user