Added Notification Control for caching notifications probably causing the freezing problem

This commit is contained in:
Rushabh Mehta
2013-11-18 13:22:07 +05:30
parent 0809a95a70
commit 04cc5155f7
8 changed files with 31 additions and 15 deletions

View File

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