mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
secondary for creating sales order customers
This commit is contained in:
parent
4e6c8c45ee
commit
52ba2201b2
@ -13,6 +13,16 @@ function createSalesOrder(options={}) {
|
|||||||
},
|
},
|
||||||
customer: {
|
customer: {
|
||||||
value: options.customer,
|
value: options.customer,
|
||||||
|
secondary: {
|
||||||
|
title: '{% trans "Add Customer" %}',
|
||||||
|
fields: function(data) {
|
||||||
|
var fields = companyFormFields();
|
||||||
|
|
||||||
|
fields.is_customer.value = true;
|
||||||
|
|
||||||
|
return fields;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
customer_reference: {},
|
customer_reference: {},
|
||||||
description: {},
|
description: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user