release mts else mto

This commit is contained in:
ivan deng
2019-11-24 02:06:04 +08:00
parent 045b10cfd4
commit 70b3126d63
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
{ {
'name': 'Odoo Customize(Boost,Debranding, My Odoo)', 'name': 'Odoo Customize(Boost,Debranding, My Odoo)',
'version': '13.19.11.15', 'version': '13.19.11.24',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Productivity', 'category': 'Productivity',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',

View File

@@ -112,7 +112,7 @@ odoo.define('app_odoo_customize.UserMenu', function (require) {
}); });
//控制debug显示 //控制debug显示
var mMode = 'normal'; var mMode = 'normal';
if (window.location.href.indexOf('debug') != -1) if (window.location.href.indexOf('debug=1') != -1)
mMode = 'debug'; mMode = 'debug';
if (window.location.href.indexOf('debug=assets') != -1) if (window.location.href.indexOf('debug=assets') != -1)
mMode = 'assets'; mMode = 'assets';
@@ -141,7 +141,7 @@ odoo.define('app_odoo_customize.UserMenu', function (require) {
window.location = $.param.querystring(window.location.href, 'debug=assets'); window.location = $.param.querystring(window.location.href, 'debug=assets');
}, },
_onMenuQuitdebug: function () { _onMenuQuitdebug: function () {
window.location.search = "?"; window.location = $.param.querystring(window.location.href, 'debug=0');
}, },
_onMenuDocumentation_dev: function () { _onMenuDocumentation_dev: function () {
window.open(documentation_dev_url, '_blank'); window.open(documentation_dev_url, '_blank');