Merge pull request #16472 from deepeshgarg007/cost_center

fix(cost_center): Bug fix in  update_cost_center_number argument name
This commit is contained in:
Nabin Hait 2019-01-25 09:56:52 +05:30 committed by GitHub
commit e21bdf020c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {