secondary for purcahse order
This commit is contained in:
parent
52ba2201b2
commit
e3efd12184
|
|
@ -54,6 +54,16 @@ function createPurchaseOrder(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: {},
|
||||
description: {},
|
||||
|
|
|
|||
Loading…
Reference in New Issue