mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
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:
@@ -36,7 +36,7 @@ frappe.ui.form.on("Payment Order", {
|
|||||||
|
|
||||||
// payment Entry
|
// payment Entry
|
||||||
if (frm.doc.docstatus === 1 && frm.doc.payment_order_type === "Payment Request") {
|
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");
|
frm.trigger("make_payment_records");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user