fix(print-format): typo in doctype (#33761)
This commit is contained in:
parent
0d1fe01da9
commit
a812021809
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue