mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 07:31:10 +00:00
Reintroduce option to clear (delete) BOM before uploading new data
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user