2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Display attachment upload date

This commit is contained in:
Oliver
2021-06-30 17:44:23 +10:00
parent 9b4db43232
commit 30ac5dba55
5 changed files with 31 additions and 2 deletions

View File

@ -157,6 +157,11 @@ class POAttachmentSerializer(InvenTreeModelSerializer):
'order',
'attachment',
'comment',
'upload_date',
]
read_only_fields = [
'upload_date',
]
@ -359,4 +364,9 @@ class SOAttachmentSerializer(InvenTreeModelSerializer):
'order',
'attachment',
'comment',
'upload_date',
]
read_only_fields = [
'upload_date',
]