mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
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…
x
Reference in New Issue
Block a user