mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Expose supplier_reference to external API
This commit is contained in:
parent
c12a482e4d
commit
610f85597f
@ -74,6 +74,7 @@ class POList(generics.ListCreateAPIView):
|
||||
data = queryset.values(
|
||||
'pk',
|
||||
'supplier',
|
||||
'supplier_reference',
|
||||
'supplier__name',
|
||||
'supplier__image',
|
||||
'reference',
|
||||
|
@ -19,6 +19,7 @@ class POSerializer(InvenTreeModelSerializer):
|
||||
fields = [
|
||||
'pk',
|
||||
'supplier',
|
||||
'supplier_reference',
|
||||
'reference',
|
||||
'description',
|
||||
'link',
|
||||
|
Loading…
Reference in New Issue
Block a user