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

Add views / models / etc etc to support StockItem attachment

This commit is contained in:
Oliver Walters
2020-05-07 09:57:54 +10:00
parent 64f6238351
commit 14132a6efa
9 changed files with 191 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ class PartAttachmentDelete(AjaxDeleteView):
model = PartAttachment
ajax_form_title = _("Delete Part Attachment")
ajax_template_name = "part/attachment_delete.html"
ajax_template_name = "attachment_delete.html"
context_object_name = "attachment"
def get_data(self):