mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-06 23:38:48 +00:00
(cherry picked from commit 9b377ccfbf5eed36d05c374e304f1c8bb513cadd) Co-authored-by: Marcel Pörner <me@nerade.de>
This commit is contained in:
parent
6d6629f11c
commit
08f9bebdf0
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
{% block actions %}
|
{% block actions %}
|
||||||
{% if user.is_staff and perms.company.change_company %}
|
{% if user.is_staff and perms.company.change_company %}
|
||||||
{% url 'admin:company_supplierpart_change' part.pk as url %}
|
{% url 'admin:company_manufacturerpart_change' part.pk as url %}
|
||||||
{% include "admin_button.html" with url=url %}
|
{% include "admin_button.html" with url=url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if roles.purchase_order.change %}
|
{% if roles.purchase_order.change %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user