mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 22:06:28 +00:00
Add ability to display "out of stock" items against a part
This commit is contained in:
@ -40,7 +40,6 @@
|
||||
part: {{ part.id }},
|
||||
location_detail: true,
|
||||
part_detail: true,
|
||||
in_stock: true,
|
||||
},
|
||||
groupByField: 'location',
|
||||
buttons: [
|
||||
|
@ -51,15 +51,6 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if part.trackable %}
|
||||
{% if 0 %}
|
||||
<!-- TODO - Add the 'tracking' tab back in -->
|
||||
<li{% ifequal tab 'track' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-track' part.id %}">{% trans "Tracking" %}
|
||||
{% if parts.serials.all|length > 0 %}
|
||||
<span class="badge">{{ part.serials.all|length }}</span>
|
||||
{% endif %}
|
||||
</a></li>
|
||||
{% endif %}
|
||||
<li{% ifequal tab 'tests' %} class='active'{% endifequal %}>
|
||||
<a href='{% url "part-test-templates" part.id %}'>{% trans "Tests" %}
|
||||
{% if part.getTestTemplates.count > 0 %}<span class='badge'>{{ part.getTestTemplates.count }}</span>{% endif %}
|
||||
|
Reference in New Issue
Block a user