mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-19 18:05:54 +00:00
Replace StockItemAttachmentCreate form
- Also replace drag-and-drop - Add 'hidden' option for form fields - Adds renderer for StockItem model
This commit is contained in:
@@ -288,6 +288,8 @@ class StockItemAttachmentSerializer(InvenTreeModelSerializer):
|
||||
|
||||
attachment = InvenTreeAttachmentSerializerField(required=True)
|
||||
|
||||
# TODO: Record the uploading user when creating or updating an attachment!
|
||||
|
||||
class Meta:
|
||||
model = StockItemAttachment
|
||||
|
||||
|
Reference in New Issue
Block a user