mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Merge pull request #1774 from anandpdoshi/hotfix
Also save Global Defaults in System Settings patch
This commit is contained in:
@@ -33,3 +33,7 @@ def execute():
|
|||||||
|
|
||||||
system_settings.ignore_mandatory = True
|
system_settings.ignore_mandatory = True
|
||||||
system_settings.save()
|
system_settings.save()
|
||||||
|
|
||||||
|
global_defaults = frappe.get_doc("Global Defaults")
|
||||||
|
global_defaults.ignore_mandatory = True
|
||||||
|
global_defaults.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user