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 abd38c685f..57b21aea41 100644 --- a/erpnext/patches/v4_0/global_defaults_to_system_settings.py +++ b/erpnext/patches/v4_0/global_defaults_to_system_settings.py @@ -33,3 +33,7 @@ def execute(): system_settings.ignore_mandatory = True system_settings.save() + + global_defaults = frappe.get_doc("Global Defaults") + global_defaults.ignore_mandatory = True + global_defaults.save()