mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add 'link' field to attachment serializer
This commit is contained in:
parent
e9ed7bffc9
commit
6582fd3d04
@ -525,6 +525,7 @@ class BuildAttachmentSerializer(InvenTreeAttachmentSerializer):
|
||||
'pk',
|
||||
'build',
|
||||
'attachment',
|
||||
'link',
|
||||
'filename',
|
||||
'comment',
|
||||
'upload_date',
|
||||
|
@ -386,6 +386,7 @@ class POAttachmentSerializer(InvenTreeAttachmentSerializer):
|
||||
'pk',
|
||||
'order',
|
||||
'attachment',
|
||||
'link',
|
||||
'filename',
|
||||
'comment',
|
||||
'upload_date',
|
||||
@ -607,6 +608,7 @@ class SOAttachmentSerializer(InvenTreeAttachmentSerializer):
|
||||
'order',
|
||||
'attachment',
|
||||
'filename',
|
||||
'link',
|
||||
'comment',
|
||||
'upload_date',
|
||||
]
|
||||
|
@ -85,6 +85,7 @@ class PartAttachmentSerializer(InvenTreeAttachmentSerializer):
|
||||
'part',
|
||||
'attachment',
|
||||
'filename',
|
||||
'link',
|
||||
'comment',
|
||||
'upload_date',
|
||||
]
|
||||
|
@ -432,6 +432,7 @@ class StockItemAttachmentSerializer(InvenTree.serializers.InvenTreeAttachmentSer
|
||||
'stock_item',
|
||||
'attachment',
|
||||
'filename',
|
||||
'link',
|
||||
'comment',
|
||||
'upload_date',
|
||||
'user',
|
||||
|
Loading…
Reference in New Issue
Block a user