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

Add 'inherited' flag to API

This commit is contained in:
Oliver Walters
2021-02-17 21:53:26 +11:00
parent d692c18274
commit 40d75090a7
2 changed files with 14 additions and 5 deletions
InvenTree/part

@@ -381,17 +381,18 @@ class BomItemSerializer(InvenTreeModelSerializer):
class Meta:
model = BomItem
fields = [
'inherited',
'note',
'optional',
'overage',
'pk',
'part',
'part_detail',
'sub_part',
'sub_part_detail',
'quantity',
'reference',
'sub_part',
'sub_part_detail',
# 'price_range',
'optional',
'overage',
'note',
'validated',
]