mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
Fix error message (#14716)
This commit is contained in:
@@ -819,6 +819,7 @@ frappe.ui.form.on('Payment Entry Reference', {
|
|||||||
|
|
||||||
reference_name: function(frm, cdt, cdn) {
|
reference_name: function(frm, cdt, cdn) {
|
||||||
var row = locals[cdt][cdn];
|
var row = locals[cdt][cdn];
|
||||||
|
if (row.reference_name && row.reference_doctype) {
|
||||||
return frappe.call({
|
return frappe.call({
|
||||||
method: "erpnext.accounts.doctype.payment_entry.payment_entry.get_reference_details",
|
method: "erpnext.accounts.doctype.payment_entry.payment_entry.get_reference_details",
|
||||||
args: {
|
args: {
|
||||||
@@ -841,6 +842,7 @@ frappe.ui.form.on('Payment Entry Reference', {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
allocated_amount: function(frm) {
|
allocated_amount: function(frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user