mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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 %}
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
{% if roles.purchase_order.change %}
|
||||
|
Loading…
Reference in New Issue
Block a user