2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Switched to ModelChoiceField

This commit is contained in:
eeintech
2020-08-24 11:41:14 -05:00
parent 6f89f7dc7f
commit 946d824995
3 changed files with 10 additions and 2 deletions

View File

@@ -63,7 +63,7 @@
<option value=''>--- {% trans "Select Part" %} ---</option>
{% for part in row.part_options %}
<option value='{{ part.id }}' {% if part.id == row.part.id %} selected='selected' {% elif part.id == row.part_match.id %} selected='selected' {% endif %}>
{{ part }}
{{ part }} - {{ part.available_stock }}
</option>
{% endfor %}
</select>