diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-10-03 11:24:51 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-10-10 10:14:46 +0200 |
| commit | 6c3ec9b0533e55fc47897c0167d92d699c286518 (patch) | |
| tree | 7b27dc49e60574359791f8bd46efa107209137e9 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 0dc03fae2c659990ec2b22255dbc51dc959437e4 (diff) | |
[FIX] web: remove "Disable/Enable Technical Features"
This link was useful when the "Technical Features" group was not linked
to the "?debug" parameter. This is not the case anymore, and this button
has no effect.
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
| -rw-r--r-- | addons/web/static/src/js/widgets/debug_manager.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js index f7ddd008e1d..4c03701dd81 100644 --- a/addons/web/static/src/js/widgets/debug_manager.js +++ b/addons/web/static/src/js/widgets/debug_manager.js @@ -187,15 +187,6 @@ var DebugManager = Widget.extend({ url: '/web/tests?mod=*' }); }, - toggle_technical_features: function () { - if (!this._features_group) { return; } - var command = this._has_features ? REMOVE(this._features_group) : ADD(this._features_group); - new Model('res.users').call('write', [session.uid, { - groups_id: [command] - }]).then(function () { - window.location.reload(); - }); - }, split_assets: function() { window.location = $.param.querystring(window.location.href, 'debug=assets'); }, |
