mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
appframe fixes
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
|
||||
pscript['onload_Accounts Browser'] = function(wrapper){
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'));
|
||||
wrapper.appframe.add_module_tab("Accounts");
|
||||
wrapper.appframe.add_home_breadcrumb()
|
||||
wrapper.appframe.add_module_breadcrumb("Accounts")
|
||||
|
||||
if (wn.boot.profile.can_create.indexOf("Company") !== -1) {
|
||||
wrapper.appframe.add_button('New Company', function() { newdoc('Company'); },
|
||||
|
||||
Reference in New Issue
Block a user