mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
cleanup of notification control: now in boot
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user