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

Part: add function to get part attachments for *all* parents of a part

This commit is contained in:
Oliver Walters
2020-08-31 22:26:46 +10:00
parent 35cd3923a5
commit cd8214ff4a
2 changed files with 15 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
<hr>
{% include "attachment_table.html" with attachments=part.attachments.all %}
{% include "attachment_table.html" with attachments=part.part_attachments %}
{% endblock %}