2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Merge pull request #2713 from SchrodingersGat/auto-allocate

Adds "Auto allocate" feature for build orders
This commit is contained in:
Oliver
2022-03-07 09:32:49 +11:00
committed by GitHub
9 changed files with 398 additions and 23 deletions

View File

@ -244,7 +244,7 @@
{% for allocation in item.allocations.all %}
<div class='alert alert-block alert-info'>
{% object_link 'build-detail' allocation.build.id allocation.build %}
{% object_link 'build-detail' allocation.build.id allocation.build as link %}
{% decimal allocation.quantity as qty %}
{% trans "This stock item is allocated to Build Order" %} {{ link }} {% if qty < item.quantity %}({% trans "Quantity" %}: {{ qty }}){% endif %}
</div>