mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
release mts else mto
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user