From c57d7dea8b39785c1a057a4c8c3fe83b38a9b33f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 22 May 2014 11:05:46 +0530 Subject: [PATCH] Fixed global_defaults_to_system_settings --- erpnext/patches/v4_0/global_defaults_to_system_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v4_0/global_defaults_to_system_settings.py b/erpnext/patches/v4_0/global_defaults_to_system_settings.py index fd6e47bff1..abd38c685f 100644 --- a/erpnext/patches/v4_0/global_defaults_to_system_settings.py +++ b/erpnext/patches/v4_0/global_defaults_to_system_settings.py @@ -8,6 +8,7 @@ from collections import Counter from frappe.core.doctype.user.user import STANDARD_USERS def execute(): + frappe.reload_doc("core", "doctype", "system_settings") system_settings = frappe.get_doc("System Settings") # set values from global_defauls