From 784f58a27c6e010b87ff568fc8c0719e52c037a2 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 10 Nov 2016 16:14:41 +0530 Subject: [PATCH] Update disabled_print_settings_for_custom_print_format.py --- .../v7_1/disabled_print_settings_for_custom_print_format.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 + """)