mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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 = [
|
filter_fields = [
|
||||||
'part',
|
'part',
|
||||||
|
'uuid',
|
||||||
'location',
|
'location',
|
||||||
'supplier_part',
|
'supplier_part',
|
||||||
'customer',
|
'customer',
|
||||||
|
@ -60,6 +60,7 @@ class StockItemSerializer(serializers.ModelSerializer):
|
|||||||
model = StockItem
|
model = StockItem
|
||||||
fields = [
|
fields = [
|
||||||
'pk',
|
'pk',
|
||||||
|
'uuid',
|
||||||
'url',
|
'url',
|
||||||
'part',
|
'part',
|
||||||
'supplier_part',
|
'supplier_part',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user