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