mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
template fix
This commit is contained in:
parent
cbb88806cd
commit
0da5957c50
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user