mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +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
 | 
					            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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user