diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index fb92293b3b..9d13f46545 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -37,6 +37,18 @@ +
+
+
+

{% trans "Part Allocations" %}

+ {% include "spacer.html" %} +
+
+
+
+
+
+
diff --git a/InvenTree/part/templates/part/part_sidebar.html b/InvenTree/part/templates/part/part_sidebar.html index f4e59af865..a8f57aa7b0 100644 --- a/InvenTree/part/templates/part/part_sidebar.html +++ b/InvenTree/part/templates/part/part_sidebar.html @@ -27,6 +27,10 @@ {% endif %} {% trans "Pricing" as text %} {% include "sidebar_item.html" with label="pricing" text=text icon="fa-dollar-sign" %} +{% if part.salable or part.component %} +{% trans "Allocations" as text %} +{% include "sidebar_item.html" with label="allocations" text=text icon="fa-bookmark" %} +{% endif %} {% if part.purchaseable and roles.purchase_order.view %} {% trans "Suppliers" as text %} {% include "sidebar_item.html" with label="suppliers" text=text icon="fa-building" %}