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 bbed17294e..fd6e47bff1 100644 --- a/erpnext/patches/v4_0/global_defaults_to_system_settings.py +++ b/erpnext/patches/v4_0/global_defaults_to_system_settings.py @@ -17,7 +17,7 @@ def execute(): if global_defaults: for key, val in global_defaults.items(): if not system_settings.get(key): - system_settings[key] = val + system_settings.set(key, val) # language if not system_settings.get("language"):