mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
fix: change cur_frm to frm
This commit is contained in:
@@ -30,7 +30,7 @@ frappe.ui.form.on("Customer", {
|
||||
"Payment Entry": () =>
|
||||
frappe.model.open_mapped_doc({
|
||||
method: "erpnext.selling.doctype.customer.customer.make_payment_entry",
|
||||
frm: cur_frm,
|
||||
frm: frm,
|
||||
}),
|
||||
"Pricing Rule": () => erpnext.utils.make_pricing_rule(frm.doc.doctype, frm.doc.name),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user