From ab876bf95dc9757023ac536dd1c199231260d077 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 6 Mar 2022 19:31:50 +0100 Subject: [PATCH] use right field def --- InvenTree/templates/js/translated/order.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js index 94fcbf2655..c0f6d2bb38 100644 --- a/InvenTree/templates/js/translated/order.js +++ b/InvenTree/templates/js/translated/order.js @@ -307,7 +307,7 @@ function soLineItemFields(options={}) { /* Construct a set of fields for the SalesOrderAdditionalLineItem form */ -function SOAdditionalLineItemFields(options={}) { +function soAdditionalLineItemFields(options={}) { var fields = { order: { @@ -2972,7 +2972,7 @@ function loadSalesOrderLineItemTable(table, options={}) { inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, { success: function(data) { - var fields = soLineItemFields(); + var fields = soAdditionalLineItemFields(); constructForm('{% url "api-so-additional-line-list" %}', { method: 'POST',