diff --git a/muk_web_theme_mail/__manifest__.py b/muk_web_theme_mail/__manifest__.py index c19c36f..712927d 100644 --- a/muk_web_theme_mail/__manifest__.py +++ b/muk_web_theme_mail/__manifest__.py @@ -19,7 +19,7 @@ { "name": "MuK Backend Theme Mail", "summary": "Backend Theme Mail", - "version": "12.0.1.0.1", + "version": "12.0.1.0.2", 'category': 'Extra Tools', "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_web_theme_mail/static/src/js/keyboard.js b/muk_web_theme_mail/static/src/js/keyboard.js new file mode 100644 index 0000000..8ea9cb9 --- /dev/null +++ b/muk_web_theme_mail/static/src/js/keyboard.js @@ -0,0 +1,41 @@ +/********************************************************************************** +* +* Copyright (C) 2017 MuK IT GmbH +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Affero General Public License as +* published by the Free Software Foundation, either version 3 of the +* License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. +* +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see . +* +**********************************************************************************/ + +odoo.define('muk_web_theme.KeyboardNavigationMixin', function (require) { +"use strict"; + +var core = require('web.core'); +var config = require("web.config"); +var session = require("web.session"); + +var AbstractWebClient = require('web.AbstractWebClient'); + +var _t = core._t; +var QWeb = core.qweb; + +AbstractWebClient.include({ + _getAllUsedAccessKeys: function () { + var usedAccessKeys = this._super.apply(this, arguments); + console.log("usedAccessKeys", _.union(usedAccessKeys, ['M', 'T'])) + return _.union(usedAccessKeys, ['M', 'T']); + }, +}); + +}); + diff --git a/muk_web_theme_mail/static/src/xml/shortcuts.xml b/muk_web_theme_mail/static/src/xml/shortcuts.xml new file mode 100644 index 0000000..b8996b5 --- /dev/null +++ b/muk_web_theme_mail/static/src/xml/shortcuts.xml @@ -0,0 +1,45 @@ + + + + + + + + + + Open the activities + + Alt + t + + + Control + Alt + t + + + + Open the messages + + Alt + m + + + Control + Alt + m + + + + + + \ No newline at end of file diff --git a/muk_web_theme_mail/static/src/xml/systray.xml b/muk_web_theme_mail/static/src/xml/systray.xml new file mode 100644 index 0000000..539a816 --- /dev/null +++ b/muk_web_theme_mail/static/src/xml/systray.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/muk_web_theme_mail/template/assets.xml b/muk_web_theme_mail/template/assets.xml index 7d5ecfc..db3a494 100644 --- a/muk_web_theme_mail/template/assets.xml +++ b/muk_web_theme_mail/template/assets.xml @@ -41,6 +41,7 @@ +