diff --git a/InvenTree/part/templates/part/part_base.html b/InvenTree/part/templates/part/part_base.html index cc1ed3df9f..42bbbbf8fd 100644 --- a/InvenTree/part/templates/part/part_base.html +++ b/InvenTree/part/templates/part/part_base.html @@ -17,7 +17,7 @@ {% endif %} {% if part.variant_of %}
- This part is a variant of {{ part.variant_of.full_name }} + This part is a variant of {{ part.variant_of.full_name }}
{% endif %} diff --git a/InvenTree/part/templates/part/variants.html b/InvenTree/part/templates/part/variants.html index 8bcf458602..cea712ea03 100644 --- a/InvenTree/part/templates/part/variants.html +++ b/InvenTree/part/templates/part/variants.html @@ -15,7 +15,7 @@
- {% if part.active %} + {% if part.has_variants and part.active %} {% endif %}