2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Merge pull request #966 from SchrodingersGat/stock-item-link

Add link from stock item to base part
This commit is contained in:
Oliver
2020-09-06 00:01:36 +10:00
committed by GitHub

View File

@ -61,9 +61,9 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
<hr>
<h4>
{% if item.serialized %}
{{ item.part.full_name}} # {{ item.serial }}
<a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name}}</a> # {{ item.serial }}
{% else %}
{% decimal item.quantity %} &times {{ item.part.full_name }}
<a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name }}</a> &times {% decimal item.quantity %}
{% endif %}
</h4>