diff --git a/InvenTree/part/templates/part/bom.html b/InvenTree/part/templates/part/bom.html index ce1c6bcd9d..ec4c1635d9 100644 --- a/InvenTree/part/templates/part/bom.html +++ b/InvenTree/part/templates/part/bom.html @@ -74,7 +74,12 @@ $(document).ready(function(){ $("#new-bom-item").click(function () { launchModalForm("#modal-form", "{% url 'bom-item-create' %}", - {data: {parent: {{ part.id }} }}); + { + reload: true, + data: { + parent: {{ part.id }} + } + }); }); }); diff --git a/InvenTree/part/templates/part/category_parts.html b/InvenTree/part/templates/part/category_parts.html index 97dc1da910..8ae4bc91b9 100644 --- a/InvenTree/part/templates/part/category_parts.html +++ b/InvenTree/part/templates/part/category_parts.html @@ -17,7 +17,7 @@ {{ part.category_path }} {% endif %} - {{ part.total_stock }} + {{ part.total_stock }} {% endfor %}