[framework] [cleanup] desktop, todo, messages, modules setup moved to framework

This commit is contained in:
Rushabh Mehta
2013-04-03 15:21:44 +05:30
parent 85adc07b5a
commit 27c4079ff9
27 changed files with 116 additions and 980 deletions

View File

@@ -26,9 +26,7 @@ def boot_session(bootinfo):
import webnotes.model.doctype
bootinfo['notification_settings'] = webnotes.doc("Notification Control",
"Notification Control").get_values()
bootinfo['modules_list'] = webnotes.conn.get_global('modules_list')
# if no company, show a dialog box to create a new company
bootinfo['setup_complete'] = webnotes.conn.sql("""select name from
tabCompany limit 1""") and 'Yes' or 'No'