2
0
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:
Oliver
2021-06-30 09:17:28 +10:00
parent 7d53bcb27c
commit 87235b7e6f
6 changed files with 66 additions and 58 deletions

View File

@@ -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