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

Add some more custom FileField serializers

(cherry picked from commit 7b9ff27baefacc977fef7852e99d8a9bb46a062a)
This commit is contained in:
Oliver Walters
2020-05-26 20:16:10 +10:00
parent 861e30e8d6
commit 81e38eeb14
3 changed files with 11 additions and 0 deletions

View File

@ -212,6 +212,8 @@ class StockItemAttachmentSerializer(InvenTreeModelSerializer):
user_detail = UserSerializerBrief(source='user', read_only=True)
attachment = InvenTreeAttachmentSerializerField()
class Meta:
model = StockItemAttachment