From a8120218092241a43dfe8f4e42d667f28efeb08d Mon Sep 17 00:00:00 2001 From: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com> Date: Mon, 25 Aug 2025 11:19:51 +0530 Subject: [PATCH] fix(print-format): typo in doctype (#33761) --- frappe/printing/doctype/print_format/print_format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/printing/doctype/print_format/print_format.js b/frappe/printing/doctype/print_format/print_format.js index f2dea7ff24..fcc5178630 100644 --- a/frappe/printing/doctype/print_format/print_format.js +++ b/frappe/printing/doctype/print_format/print_format.js @@ -23,7 +23,7 @@ frappe.ui.form.on("Print Format", { }, render_buttons: function (frm) { frm.page.clear_inner_toolbar(); - if (!frm.is_new() && frm.doc.print_format_for === "Doctype") { + if (!frm.is_new() && frm.doc.print_format_for === "DocType") { if (!frm.doc.custom_format) { frm.add_custom_button(__("Edit Format"), function () { if (!frm.doc.doc_type) {