diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index ef71cfc05a..f023989887 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -244,7 +244,7 @@ {% for allocation in item.allocations.all %}
- {% 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 %}