2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

Add "IPN" column to stock list table

This commit is contained in:
Oliver Walters
2020-06-06 08:47:06 +10:00
parent f563ac0dcb
commit 126e42a022
7 changed files with 16 additions and 22 deletions

View File

@ -103,6 +103,9 @@ class PartBriefSerializer(InvenTreeModelSerializer):
model = Part
fields = [
'pk',
'IPN',
'name',
'revision',
'full_name',
'description',
'thumbnail',

View File

@ -26,12 +26,6 @@ InvenTree | {% trans "Part List" %}
{% endblock %}
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/part.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}