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)',
'version': '13.19.11.15',
'version': '13.19.11.24',
'author': 'Sunpop.cn',
'category': 'Productivity',
'website': 'https://www.sunpop.cn',

View File

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