mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
Merge pull request #1678 from anandpdoshi/hotfix
Fixed global_defaults_to_system_settings
This commit is contained in:
@@ -8,6 +8,7 @@ from collections import Counter
|
|||||||
from frappe.core.doctype.user.user import STANDARD_USERS
|
from frappe.core.doctype.user.user import STANDARD_USERS
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc("core", "doctype", "system_settings")
|
||||||
system_settings = frappe.get_doc("System Settings")
|
system_settings = frappe.get_doc("System Settings")
|
||||||
|
|
||||||
# set values from global_defauls
|
# set values from global_defauls
|
||||||
|
|||||||
Reference in New Issue
Block a user