mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
link fix in general ledger
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user