mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Include uuid in serializer and api
This commit is contained in:
parent
7b68bac32f
commit
51d77ce4d2
@ -222,6 +222,7 @@ class StockList(generics.ListCreateAPIView):
|
||||
|
||||
filter_fields = [
|
||||
'part',
|
||||
'uuid',
|
||||
'location',
|
||||
'supplier_part',
|
||||
'customer',
|
||||
|
@ -60,6 +60,7 @@ class StockItemSerializer(serializers.ModelSerializer):
|
||||
model = StockItem
|
||||
fields = [
|
||||
'pk',
|
||||
'uuid',
|
||||
'url',
|
||||
'part',
|
||||
'supplier_part',
|
||||
|
Loading…
Reference in New Issue
Block a user