link fix in general ledger

This commit is contained in:
Rushabh Mehta
2012-11-12 15:45:08 +05:30
parent fe7b444903
commit c5a8d427f1
2 changed files with 2 additions and 2 deletions

View File

@@ -85,8 +85,7 @@ cur_frm.cscript.hide_unhide_group_ledger = function(doc) {
function() { cur_frm.cscript.convert_to_group(); }, 'icon-retweet')
cur_frm.add_custom_button('View Ledger', function() {
wn.set_route('Report', 'GL Entry', 'General Ledger',
'Account=' + doc.name);
wn.set_route("general-ledger", "account=" + doc.name);
});
}
}