From ba840d22e540988e77b61d68e2288e6cac3af4b3 Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Fri, 22 Aug 2025 19:18:42 +0200 Subject: [PATCH] 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 cfa60453dd6..0a316bd2974 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js @@ -67,6 +67,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), }; },