mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
Added Notification Control for caching notifications probably causing the freezing problem
This commit is contained in:
@@ -56,6 +56,12 @@ def get_unread_messages():
|
||||
AND ifnull(docstatus,0)=0
|
||||
""", webnotes.user.name)[0][0]
|
||||
|
||||
for_module_doctypes = {
|
||||
"ToDo": "To Do",
|
||||
"Event": "Calendar",
|
||||
"Comment": "Messages"
|
||||
}
|
||||
|
||||
for_module = {
|
||||
"To Do": get_things_todo,
|
||||
"Calendar": get_todays_events,
|
||||
|
||||
Reference in New Issue
Block a user