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

Can now successfully edit or delete a purchase-order attachment

This commit is contained in:
Oliver Walters
2020-03-22 19:55:46 +11:00
parent 5af2fae120
commit 4a259dc146
6 changed files with 55 additions and 7 deletions

View File

@@ -112,6 +112,7 @@ class PartAttachmentCreate(AjaxCreateView):
class PartAttachmentEdit(AjaxUpdateView):
""" View for editing a PartAttachment object """
model = PartAttachment
form_class = part_forms.EditPartAttachmentForm
ajax_template_name = 'modal_form.html'