Merge pull request #55907 from frappe/mergify/bp/version-15-hotfix/pr-55906

fix: show company name in delete transactions confirmation dialog (backport #55906)
This commit is contained in:
Mihir Kandoi
2026-06-15 11:00:32 +05:30
committed by GitHub

View File

@@ -204,7 +204,9 @@ frappe.ui.form.on("Company", {
{ {
fieldtype: "Data", fieldtype: "Data",
fieldname: "company_name", fieldname: "company_name",
label: __("Please enter the company name to confirm"), label: __('Please enter the company name <b>"{0}"</b> to confirm', [
frappe.utils.escape_html(frm.doc.name),
]),
reqd: 1, reqd: 1,
description: __( description: __(
"Please make sure you really want to delete all the transactions for this company. Your master data will remain as it is. This action cannot be undone." "Please make sure you really want to delete all the transactions for this company. Your master data will remain as it is. This action cannot be undone."