From 47a459a32c0b4b7c7ac7f692e3d367f7222d9374 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:31:42 +1100 Subject: [PATCH] Fix broken URL (#6497) (#6501) (cherry picked from commit d9b769d27bd24321e1fed0e030332e03ba90bb1e) Co-authored-by: Oliver --- InvenTree/templates/js/translated/company.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/company.js b/InvenTree/templates/js/translated/company.js index 47f564cb81..b1c1f47e83 100644 --- a/InvenTree/templates/js/translated/company.js +++ b/InvenTree/templates/js/translated/company.js @@ -226,7 +226,7 @@ function createSupplierPart(options={}) { var header = ''; if (options.part) { var part_model = {}; - inventreeGet(`{% url "api-part-list" %}${options.part}/.*`, {}, { + inventreeGet(`{% url "api-part-list" %}${options.part}/`, {}, { async: false, success: function(response) { part_model = response;