diff --git a/InvenTree/templates/js/translated/bom.js b/InvenTree/templates/js/translated/bom.js index dedf84e423..3524bc5c40 100644 --- a/InvenTree/templates/js/translated/bom.js +++ b/InvenTree/templates/js/translated/bom.js @@ -35,6 +35,18 @@ function bomItemFields() { hidden: true, }, sub_part: { + secondary: { + title: '{% trans "New Part" %}', + fields: function() { + var fields = partFields(); + + // Set to a "component" part + fields.component.value = true; + + return fields; + }, + groups: partGroups(), + } }, quantity: {}, reference: {},