mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 13:56:30 +00:00
Add views / models / etc etc to support StockItem attachment
This commit is contained in:
@ -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 %}
|
@ -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):
|
||||
|
Reference in New Issue
Block a user