mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Pack quantity improvements (#3661)
* Specify serializer label * Add units to part grid view * improve display of stock units in part table * Add units display to stock on part page * Display units in supplier part table * Simplify stock quantity display in stock table
This commit is contained in:
		| @@ -239,7 +239,7 @@ class SupplierPartSerializer(InvenTreeModelSerializer): | ||||
|  | ||||
|     pretty_name = serializers.CharField(read_only=True) | ||||
|  | ||||
|     pack_size = serializers.FloatField() | ||||
|     pack_size = serializers.FloatField(label=_('Pack Quantity')) | ||||
|  | ||||
|     def __init__(self, *args, **kwargs): | ||||
|         """Initialize this serializer with extra detail fields as required""" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user