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 f42209a33a..45797c8c8f 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 @@ -6,6 +6,7 @@ from __future__ import unicode_literals import frappe def execute(): + frappe.reload_doctype('Print Format') frappe.db.sql(""" update `tabPrint Format` @@ -13,4 +14,4 @@ def execute(): align_labels_left = 0, line_breaks = 0, show_section_headings = 0 where custom_format = 1 - """) \ No newline at end of file + """)