diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-16 16:42:59 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-22 12:56:49 +0200 |
| commit | 2adae8ff0f530ce219570bd27610561b42dbc55a (patch) | |
| tree | a05bde2c03fc7c0ffada90389e74ee32be238d7d /addons/web/static/src/js/widgets/user_menu.js | |
| parent | c35bf5a845657606718fa751c20b17bb0e62789c (diff) | |
[IMP] web,web_settings_dashboard: Move 'About' menu to settings dashboard
Fp request: In the user preferences menu, remove "About Us" and put the version number in the Settings dashboard somewhere, as well as the link to switch to developer mode. Odoo is not a desktop application anymore.
Diffstat (limited to 'addons/web/static/src/js/widgets/user_menu.js')
| -rw-r--r-- | addons/web/static/src/js/widgets/user_menu.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/addons/web/static/src/js/widgets/user_menu.js b/addons/web/static/src/js/widgets/user_menu.js index 7b4e4d05b25..3c65ab3ac49 100644 --- a/addons/web/static/src/js/widgets/user_menu.js +++ b/addons/web/static/src/js/widgets/user_menu.js @@ -46,28 +46,6 @@ var UserMenu = Widget.extend({ on_menu_support: function () { window.open('https://www.odoo.com/buy', '_blank'); }, - on_menu_about: function () { - var self = this; - if (odoo.db_info) { - menu_help_about(odoo.db_info); - } else { - this.rpc("/web/webclient/version_info", {}).done(menu_help_about); - } - - function menu_help_about(db_info) { - var $help = $(QWeb.render("UserMenu.about", {db_info: db_info, debug: core.debug})); - $help.find('a.oe_activate_debug_mode').click(function (e) { - e.preventDefault(); - window.location = $.param.querystring(window.location.href, 'debug'); - }); - new Dialog(self, { - size: 'medium', - dialogClass: 'o_act_window', - title: _t("About"), - $content: $help - }).open(); - } - }, on_menu_settings: function() { var self = this; this.trigger_up('clear_uncommitted_changes', { |
