From 7986e69839c1e8c81f4e63dbdceb3c179e122ea7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 22 Aug 2025 19:26:10 +0200 Subject: [PATCH] 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) --- erpnext/buying/doctype/supplier/supplier.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index 58e084e4cf8..c094dae10db 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -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), }; },