diff options
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
| -rw-r--r-- | addons/web/static/src/js/widgets/debug_manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js index 4c03701dd81..2b207a9bb52 100644 --- a/addons/web/static/src/js/widgets/debug_manager.js +++ b/addons/web/static/src/js/widgets/debug_manager.js @@ -64,7 +64,7 @@ var DebugManager = Widget.extend({ // whether group is currently enabled for current user this._has_features = false; // whether the current user is an administrator - this._is_admin = session.is_admin; + this._is_admin = session.is_system; return $.when( new Model('res.users').call('check_access_rights', {operation: 'write', raise_exception: false}), session.user_has_group('base.group_no_one'), |
