mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Fix admin url to point to right model (#5319)
This commit is contained in:
parent
25334c0d91
commit
9b377ccfbf
@ -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