mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Fix admin url to point to right model (#5319)
This commit is contained in:
		| @@ -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 %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user