diff --git a/frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py b/frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py index 45797c8c8f..c74d2d98f9 100644 --- a/frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py +++ b/frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py @@ -11,7 +11,7 @@ def execute(): update `tabPrint Format` set - align_labels_left = 0, line_breaks = 0, show_section_headings = 0 + align_labels_right = 0, line_breaks = 0, show_section_headings = 0 where custom_format = 1 """) diff --git a/frappe/printing/doctype/print_format/print_format.js b/frappe/printing/doctype/print_format/print_format.js index bd06697725..bcd17c651e 100644 --- a/frappe/printing/doctype/print_format/print_format.js +++ b/frappe/printing/doctype/print_format/print_format.js @@ -43,7 +43,7 @@ frappe.ui.form.on("Print Format", { }, custom_format: function(frm) { var value = frm.doc.custom_format ? 0:1; - frm.set_value('align_labels_left', value); + frm.set_value('align_labels_right', value); frm.set_value('show_section_headings', value); frm.set_value('line_breaks', value); frm.trigger('render_buttons');