mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
use right field def
This commit is contained in:
parent
de11b3463e
commit
ab876bf95d
@ -307,7 +307,7 @@ function soLineItemFields(options={}) {
|
|||||||
|
|
||||||
|
|
||||||
/* Construct a set of fields for the SalesOrderAdditionalLineItem form */
|
/* Construct a set of fields for the SalesOrderAdditionalLineItem form */
|
||||||
function SOAdditionalLineItemFields(options={}) {
|
function soAdditionalLineItemFields(options={}) {
|
||||||
|
|
||||||
var fields = {
|
var fields = {
|
||||||
order: {
|
order: {
|
||||||
@ -2972,7 +2972,7 @@ function loadSalesOrderLineItemTable(table, options={}) {
|
|||||||
inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, {
|
inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, {
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
|
|
||||||
var fields = soLineItemFields();
|
var fields = soAdditionalLineItemFields();
|
||||||
|
|
||||||
constructForm('{% url "api-so-additional-line-list" %}', {
|
constructForm('{% url "api-so-additional-line-list" %}', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
Loading…
Reference in New Issue
Block a user