Merge pull request #42530 from frappe/mergify/bp/version-15-hotfix/pr-42528

chore: button name should reflect what it creates (backport #42528)
This commit is contained in:
ruthra kumar
2024-07-30 12:12:28 +05:30
committed by GitHub

View File

@@ -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");
});
}