diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index 02a4cd35f1..2bdff60ebe 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -38,7 +38,7 @@

{% trans "Received Items" %}

- {% include "stock_table.html" with read_only=True %} + {% include "stock_table.html" with prevent_new_stock=True %}
diff --git a/InvenTree/templates/stock_table.html b/InvenTree/templates/stock_table.html index 583f4db893..ae1f7c1a9b 100644 --- a/InvenTree/templates/stock_table.html +++ b/InvenTree/templates/stock_table.html @@ -16,7 +16,7 @@ {% if owner_control.value == "True" and user in owners or user.is_superuser or owner_control.value == "False" %} - {% if not read_only and roles.stock.add %} + {% if not read_only and not prevent_new_stock and roles.stock.add %}