2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-27 21:26:43 +00:00

Update bom.md

This commit is contained in:
Michael 2022-04-21 22:14:18 +02:00 committed by GitHub
parent dfb1e4994a
commit 5aba9c93c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ table td {
<td>{{ line.reference }}</td>
<td>
{% for sub in line.substitutes.all %}
{{ sub.part.IPN }}<br>
{{ sub.part.IPN }}<br>
{% endfor %}
</td>
</tr>
@ -107,4 +107,7 @@ table td {
| Variable | Description |
| --- | --- |
| bom_items | Query set that contains all BOM items |
| bom_items.sub_part | One part of the BOM |
| bom_items...sub_part | One component of the BOM |
| bom_items...qualtity | Numeber of parts |
| bom_items...reference | Reference designators of the part |
| bom_items...substitutes | Query set that contains sunstitutes of the part if any exist in the BOM |