mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 15:41:10 +00:00
Generate a list of allowed BOM items and pass to the form template
This commit is contained in:
@@ -49,6 +49,9 @@
|
||||
{% if item.column.guess == 'Part' %}
|
||||
<select class='select' id='id_part_{{ row.index }}' name='part_select_{{ row.index }}'>
|
||||
<option value=''>---------</option>
|
||||
{% for part in allowed_parts_list %}
|
||||
<option value='{{ part.id }}'>{{ part.full_name }} - {{ part.description }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<br>
|
||||
{{ item.cell }}
|
||||
|
Reference in New Issue
Block a user