mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Bug fix for recent SupplierPart API annotation (#3336)
This commit is contained in:
		| @@ -284,7 +284,7 @@ class SupplierPartSerializer(InvenTreeModelSerializer): | ||||
|         """ | ||||
|  | ||||
|         queryset = queryset.annotate( | ||||
|             in_stock=part.filters.annotate_total_stock(reference='part__') | ||||
|             in_stock=part.filters.annotate_total_stock() | ||||
|         ) | ||||
|  | ||||
|         return queryset | ||||
|   | ||||
		Reference in New Issue
	
	Block a user