cleanup of notification control: now in boot

This commit is contained in:
Rushabh Mehta
2012-11-30 10:57:28 +05:30
parent e1e4aafd9b
commit 35c017a78f
23 changed files with 128 additions and 295 deletions

View File

@@ -76,6 +76,8 @@ def boot_session(bootinfo):
import webnotes.model.doctype
bootinfo['docs'] += webnotes.model.doctype.get('Event')
bootinfo['docs'] += webnotes.model.doctype.get('Search Criteria')
bootinfo['notification_settings'] = webnotes.doc("Notification Control",
"Notification Control").get_values()
bootinfo['modules_list'] = webnotes.conn.get_global('modules_list')