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