2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 02:25:38 +00:00

Working towards better build allocation:

- Improve data serialization in API
- Javascript bug fixes
- Load the build allocation table using jQuery
This commit is contained in:
Oliver Walters
2020-04-25 21:13:38 +10:00
parent c11b433d94
commit b0891c921c
10 changed files with 164 additions and 42 deletions

View File

@ -234,6 +234,8 @@ class BomItemSerializer(InvenTreeModelSerializer):
""" Serializer for BomItem object """
price_range = serializers.CharField(read_only=True)
quantity = serializers.FloatField()
part_detail = PartBriefSerializer(source='part', many=False, read_only=True)
sub_part_detail = PartBriefSerializer(source='sub_part', many=False, read_only=True)