commit | c57d7dea8b39785c1a057a4c8c3fe83b38a9b33f | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Thu May 22 11:05:46 2014 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu May 22 11:05:46 2014 +0530 |
tree | 702c6e33c137b7908d856667d5f524af69486fd7 | |
parent | 53142f125bcc6bf224095c5e424e676ddfed99f2 [diff] |
Fixed global_defaults_to_system_settings
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 fd6e47b..abd38c6 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 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