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