2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 17:56:30 +00:00

Display both 'allocated' and 'fulfilled' quantity values in salesorder table

This commit is contained in:
Oliver
2021-11-26 23:30:34 +11:00
parent 8aed68a1d1
commit 0b997dc784
2 changed files with 59 additions and 35 deletions

View File

@@ -553,7 +553,6 @@ class SOLineItemSerializer(InvenTreeModelSerializer):
quantity = InvenTreeDecimalField()
allocated = serializers.FloatField(source='allocated_quantity', read_only=True)
fulfilled = serializers.FloatField(source='fulfilled_quantity', read_only=True)
shipped = InvenTreeDecimalField(read_only=True)
@@ -576,7 +575,6 @@ class SOLineItemSerializer(InvenTreeModelSerializer):
'allocated',
'allocations',
'quantity',
'fulfilled',
'reference',
'notes',
'order',