diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index b32ca706f3..ade3fd4632 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -286,6 +286,12 @@
{% include "part/bom.html" with part=part %} + {% if roles.part.change %} + +
+ {% endif %}
@@ -611,7 +617,7 @@ }); }); - $("#bom-item-new").click(function () { + $("[id^=bom-item-new]").click(function () { var fields = bomItemFields();