Add link from stock item to base part
This commit is contained in:
parent
22e30903b6
commit
87f25eacc5
|
|
@ -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 %} × {{ item.part.full_name }}
|
||||
<a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name }}</a> × {% decimal item.quantity %}
|
||||
{% endif %}
|
||||
</h4>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue