2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

Fix string capitalization (#6460)

This commit is contained in:
Lavissa
2024-02-09 22:41:14 +01:00
committed by GitHub
parent 325841dbf1
commit 0ba16bbbbd

View File

@ -1075,7 +1075,7 @@ class BuildLineSerializer(InvenTreeModelSerializer):
quantity = serializers.FloatField()
bom_item = serializers.PrimaryKeyRelatedField(label=_('Bom Item'), read_only=True)
bom_item = serializers.PrimaryKeyRelatedField(label=_('BOM Item'), read_only=True)
# Foreign key fields
bom_item_detail = BomItemSerializer(source='bom_item', many=False, read_only=True, pricing=False)