secondary for purcahse order

This commit is contained in:
Oliver Walters 2021-08-08 00:50:59 +10:00
parent 52ba2201b2
commit e3efd12184

View File

@ -54,6 +54,16 @@ function createPurchaseOrder(options={}) {
}, },
supplier: { supplier: {
value: options.supplier, value: options.supplier,
secondary: {
title: '{% trans "Add Supplier" %}',
fields: function(data) {
var fields = companyFormFields();
fields.is_supplier.value = true;
return fields;
}
}
}, },
supplier_reference: {}, supplier_reference: {},
description: {}, description: {},