Fixed global_defaults_to_system_settings

This commit is contained in:
Anand Doshi 2014-05-22 11:05:46 +05:30
parent 53142f125b
commit c57d7dea8b

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