Reintroduce option to clear (delete) BOM before uploading new data

This commit is contained in:
Oliver committed 2022-02-17 22:54:02 +11:00
1 parent 1b6dacd5ba
commit 6e6f9d6c2f
2 files changed
+34

No files matched your search

@@ -81,6 +81,11 @@ $('#bom-upload').click(function() {
method: 'POST',
fields: {
data_file: {},
part: {
value: {{ part.pk }},
hidden: true,
},
clear_existing_bom: {},
},
title: '{% trans "Upload BOM File" %}',
onSuccess: function(response) {