Skip to content

Commit

Permalink
Merge pull request #42529 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-42528

chore: button name should reflect what it creates (backport #42528)
  • Loading branch information
ruthra-kumar authored Jul 30, 2024
2 parents 0254711 + 7259c0f commit e4f583d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/doctype/payment_order/payment_order.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
}
Expand Down

0 comments on commit e4f583d

Please sign in to comment.