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