fix to customer issue, desktop

This commit is contained in:
Rushabh Mehta
2012-11-15 16:58:27 +05:30
parent 85df835db2
commit 86945fe178
2 changed files with 8 additions and 4 deletions

View File

@@ -60,8 +60,7 @@ erpnext.desktop.render = function() {
// setup
for(var i in wn.boot.modules_list) {
var m = wn.boot.modules_list[i];
if(!in_list(['Setup'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1
&& erpnext.modules[m])
if(!in_list(['Setup', 'Core'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1)
add_icon(m);
}