diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js index 8e9809c2c0..8a8f45103c 100644 --- a/InvenTree/templates/js/translated/order.js +++ b/InvenTree/templates/js/translated/order.js @@ -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: {},