From d9b769d27bd24321e1fed0e030332e03ba90bb1e Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 16 Feb 2024 11:01:08 +1100 Subject: [PATCH] Fix broken URL (#6497) --- 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 b1fdacb540df..424f5a27fa7e 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;