From 08f9bebdf06b96c16ed0ad5f873241017bd82742 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 23 Jul 2023 22:38:27 +1000 Subject: [PATCH] Fix admin url to point to right model (#5319) (#5321) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 9b377ccfbf5eed36d05c374e304f1c8bb513cadd) Co-authored-by: Marcel Pörner --- InvenTree/company/templates/company/manufacturer_part.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/company/templates/company/manufacturer_part.html b/InvenTree/company/templates/company/manufacturer_part.html index 0c158edd76..5bffdcb781 100644 --- a/InvenTree/company/templates/company/manufacturer_part.html +++ b/InvenTree/company/templates/company/manufacturer_part.html @@ -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 %}