secondary for creating sales order customers

This commit is contained in:
Oliver Walters 2021-08-08 00:49:16 +10:00
parent 4e6c8c45ee
commit 52ba2201b2

View File

@ -13,6 +13,16 @@ function createSalesOrder(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: {},
description: {},