sync_handler_merge
diff --git a/erpnext/startup/startup.js b/erpnext/startup/startup.js
index 925c85e..27befaf 100644
--- a/erpnext/startup/startup.js
+++ b/erpnext/startup/startup.js
@@ -64,6 +64,10 @@
// always allow apps
wn.boot.profile.allow_modules = wn.boot.profile.allow_modules.concat(
['To Do', 'Knowledge Base', 'Calendar', 'Activity', 'Messages'])
+ // allow dashboard to accounts manager
+ if(user_roles.indexOf('Accounts Manager')!=-1) {
+ wn.boot.profile.allow_modules.push('Dashboard');
+ }
// setup toolbar
erpnext.toolbar.setup();