fix(Supplier): add make_method for Pricing Rule (backport #49282) (#49283)

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
fix(Supplier): add make_method for Pricing Rule (#49282)
This commit is contained in:
mergify[bot]
2025-08-22 19:26:10 +02:00
committed by GitHub
parent 836545bdb4
commit 7986e69839

View File

@@ -45,6 +45,7 @@ frappe.ui.form.on("Supplier", {
frm.make_methods = {
"Bank Account": () => erpnext.utils.make_bank_account(frm.doc.doctype, frm.doc.name),
"Pricing Rule": () => erpnext.utils.make_pricing_rule(frm.doc.doctype, frm.doc.name),
};
},