|
|
@@ -14,7 +14,7 @@ def get_notifications(): |
|
|
|
|
|
|
|
config = get_notification_config() |
|
|
|
|
|
|
|
groups = config.get("for_doctype").keys() + config.get("for_module").keys() |
|
|
|
groups = list(config.get("for_doctype").keys()) + list(config.get("for_module").keys()) |
|
|
|
cache = frappe.cache() |
|
|
|
|
|
|
|
notification_count = {} |
|
|
@@ -161,7 +161,7 @@ def clear_notifications(user=None): |
|
|
|
return |
|
|
|
|
|
|
|
config = get_notification_config() |
|
|
|
groups = config.get("for_doctype").keys() + config.get("for_module").keys() |
|
|
|
groups = list(config.get("for_doctype").keys()) + list(config.get("for_module").keys()) |
|
|
|
cache = frappe.cache() |
|
|
|
|
|
|
|
for name in groups: |
|
|
|