2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 04:56:45 +00:00

template fix

This commit is contained in:
Oliver Walters 2022-02-25 21:23:20 +11:00
parent cbb88806cd
commit 0da5957c50

View File

@ -20,6 +20,8 @@
{% endblock %} {% endblock %}
{% block actions %} {% block actions %}
{% setting_object 'STOCK_OWNERSHIP_CONTROL' as owner_control %}
<!-- Admin view --> <!-- Admin view -->
{% if location and user.is_staff and roles.stock_location.change %} {% if location and user.is_staff and roles.stock_location.change %}
{% url 'admin:stock_stocklocation_change' location.pk as url %} {% url 'admin:stock_stocklocation_change' location.pk as url %}