Build order part location export #4029
Replies: 3 comments 8 replies
-
Hi, Michael |
Beta Was this translation helpful? Give feedback.
-
manufacturer_parts and supplier_parts can be several. So try e.g. <table class='changes-table'>
<thead>
<tr>
<th>.stock_item.part.IPN</th>
<th>.stock_item.part.supplier_parts.all.0.SKU</th>
<th>.stock_item.part.manufacturer_parts.all.0.MPN</th>
</tr>
</thead>
<tbody>
{% for line in build.allocated_stock.all %}
<tr>
<td> {{ line.stock_item.part.IPN }} </td>
<td> {{ line.stock_item.part.supplier_parts.all.0.SKU }} </td>
<td> {{ line.stock_item.part.manufacturer_parts.all.0.MPN }} </td>
</tr>
{% endfor %}
</tbody>
</table> With .0 you get just the first from the list. 01 will sow the second ... |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Is it possible export allocated part locations for a build order?
I can see location when pressing the "plus" icon and manually writing them down, but an export to pdf with part name and location would be nice.
Beta Was this translation helpful? Give feedback.
All reactions