mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 02:25:38 +00:00
Update 'required' status for new serializers
(cherry picked from commit 2306e29743eb25266c78bec5357d1194e0778c58)
This commit is contained in:
@ -47,7 +47,7 @@ class PartAttachmentSerializer(InvenTreeModelSerializer):
|
||||
Serializer for the PartAttachment class
|
||||
"""
|
||||
|
||||
attachment = InvenTreeAttachmentSerializerField()
|
||||
attachment = InvenTreeAttachmentSerializerField(required=True)
|
||||
|
||||
class Meta:
|
||||
model = PartAttachment
|
||||
|
Reference in New Issue
Block a user