diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 56958c493c..0b1d8f0d09 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -60,10 +60,17 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}

+{% if roles.part.view %} + +{% endif %} +{{ item.part.full_name}} +{% if roles.part.view %} + +{% endif %} {% if item.serialized %} - {{ item.part.full_name}} # {{ item.serial }} + # {{ item.serial }} {% else %} - {{ item.part.full_name }} × {% decimal item.quantity %} + × {% decimal item.quantity %} {% endif %} {% if user.is_staff and roles.stock.change %} @@ -156,7 +163,13 @@ InvenTree | {% trans "Stock Item" %} - {{ item }} {% trans "Base Part" %} - {{ item.part.full_name }} + {% if roles.part.view %} + + {% endif %} + {{ item.part.full_name }} + {% if roles.part.view %} + + {% endif %} {% if item.serialized %}