mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
rename Profile to User frappe/frappe#470
This commit is contained in:
@@ -23,7 +23,7 @@ frappe.pages['activity'].onload = function(wrapper) {
|
||||
wrapper.appframe.set_title_right("Refresh", function() { list.run(); });
|
||||
|
||||
// Build Report Button
|
||||
if(frappe.boot.profile.can_get_report.indexOf("Feed")!=-1) {
|
||||
if(frappe.boot.user.can_get_report.indexOf("Feed")!=-1) {
|
||||
wrapper.appframe.add_primary_action(frappe._('Build Report'), function() {
|
||||
frappe.set_route('Report', "Feed");
|
||||
}, 'icon-th')
|
||||
|
||||
Reference in New Issue
Block a user