diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index e164848ff7..fe07954a5a 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -142,7 +142,7 @@ Purchaseable {% include "slide.html" with state=part.purchaseable field='purchaseable' %} {% if part.purchaseable %} - + Part can be purchased from external suppliers {% else %} Part can be purchased from external suppliers {% endif %} diff --git a/InvenTree/templates/stock_table.html b/InvenTree/templates/stock_table.html index aa07f99959..e53daa4718 100644 --- a/InvenTree/templates/stock_table.html +++ b/InvenTree/templates/stock_table.html @@ -1,6 +1,6 @@
- {% if part.is_template == False %} + {% if not part or part.is_template == False %} {% endif %}