Merge pull request #1678 from anandpdoshi/hotfix

Fixed global_defaults_to_system_settings
This commit is contained in:
Pratik Vyas 2014-05-22 11:15:21 +05:30
commit a5f35e2b3c

View File

@ -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