mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
(cherry picked from commit ede30cec7a507aab9c063fc44ab5d9e70ec902d6) Co-authored-by: Dean <me@dgardiner.net>
This commit is contained in:
parent
453c726d1e
commit
993849813f
@ -654,7 +654,7 @@ class BarcodeSOAllocate(BarcodeView):
|
|||||||
return shipment
|
return shipment
|
||||||
|
|
||||||
shipments = order.models.SalesOrderShipment.objects.filter(
|
shipments = order.models.SalesOrderShipment.objects.filter(
|
||||||
order=sales_order, delivery_date=None
|
order=sales_order, shipment_date=None
|
||||||
)
|
)
|
||||||
|
|
||||||
if shipments.count() == 1:
|
if shipments.count() == 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user