Add views / models / etc etc to support StockItem attachment

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

No files matched your search

@@ -1,7 +0,0 @@
{% extends "modal_delete_form.html" %}
{% load i18n %}
{% block pre_form_content %}
{% trans "Are you sure you want to delete this attachment?" %}
<br>
{% endblock %}
+1 -1
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):