From 1019f6d1584923783a6c72073533f2186a65599c Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Tue, 30 Jul 2024 11:53:47 +0530 Subject: [PATCH] chore: button name should reflect what it creates (cherry picked from commit 0b6e7f83cd6bb83638f58b82d10a3d289973c453) --- erpnext/accounts/doctype/payment_order/payment_order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_order/payment_order.js b/erpnext/accounts/doctype/payment_order/payment_order.js index 4033fc08233..7311ed9f8be 100644 --- a/erpnext/accounts/doctype/payment_order/payment_order.js +++ b/erpnext/accounts/doctype/payment_order/payment_order.js @@ -36,7 +36,7 @@ frappe.ui.form.on("Payment Order", { // payment Entry if (frm.doc.docstatus === 1 && frm.doc.payment_order_type === "Payment Request") { - frm.add_custom_button(__("Create Payment Entries"), function () { + frm.add_custom_button(__("Create Journal Entries"), function () { frm.trigger("make_payment_records"); }); }