use right field def

This commit is contained in:
Matthias 2022-03-06 19:31:50 +01:00
parent de11b3463e
commit ab876bf95d
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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',