From 6516d9dbe6484da052cf6f0524b9b3ce0a5740d1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 11 Mar 2022 02:18:24 +0100 Subject: [PATCH] fix permission check --- InvenTree/order/templates/order/purchase_order_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index 9e9db92886..3dcae161ad 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -49,7 +49,7 @@

{% trans "Additional Order Items" %}

{% include "spacer.html" %}
- {% if roles.purchase_order.change and order.is_pending %} + {% if roles.purchase_order.change and order.status == PurchaseOrderStatus.PENDING %}