Fix error message (#14716)

This commit is contained in:
Shreya Shah
2018-06-28 14:14:28 +05:30
committed by Nabin Hait
parent 67d87e29e3
commit 2fbc8509f5

View File

@@ -819,6 +819,7 @@ frappe.ui.form.on('Payment Entry Reference', {
reference_name: function(frm, cdt, cdn) {
var row = locals[cdt][cdn];
if (row.reference_name && row.reference_doctype) {
return frappe.call({
method: "erpnext.accounts.doctype.payment_entry.payment_entry.get_reference_details",
args: {
@@ -841,6 +842,7 @@ frappe.ui.form.on('Payment Entry Reference', {
}
}
})
}
},
allocated_amount: function(frm) {