2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 19:20:55 +00:00

Add "owner" field

This commit is contained in:
Oliver
2021-10-20 23:44:01 +11:00
parent 4a0ed4b2a1
commit d3b1ecd65e
2 changed files with 10 additions and 4 deletions

View File

@ -58,15 +58,15 @@ class StockItemSerializerBrief(InvenTreeModelSerializer):
class Meta:
model = StockItem
fields = [
'pk',
'uid',
'part',
'part_name',
'supplier_part',
'pk',
'location',
'location_name',
'quantity',
'serial',
'supplier_part',
'uid',
]
@ -208,6 +208,7 @@ class StockItemSerializer(InvenTreeModelSerializer):
'location',
'location_detail',
'notes',
'owner',
'packaging',
'part',
'part_detail',