fix:(cost_center): fix for update cost center number

This commit is contained in:
deepeshgarg007 2019-01-23 17:28:13 +05:30
parent f74e28bc64
commit 19ab86a3a7

View File

@ -46,7 +46,7 @@ frappe.ui.form.on('Cost Center', {
doctype_name: frm.doc.doctype,
name: frm.doc.name,
field_name: d.fields[0].fieldname,
field_value: data.cost_center_number,
number_value: data.cost_center_number,
company: frm.doc.company
},
callback: function(r) {