From 0da5957c50b94d7daa479586a7c9fe67b20d8aec Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 25 Feb 2022 21:23:20 +1100 Subject: [PATCH] template fix --- InvenTree/stock/templates/stock/location.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 39b9faedb4..c07e4f8162 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -20,6 +20,8 @@ {% endblock %} {% block actions %} +{% setting_object 'STOCK_OWNERSHIP_CONTROL' as owner_control %} + {% if location and user.is_staff and roles.stock_location.change %} {% url 'admin:stock_stocklocation_change' location.pk as url %}