This commit is contained in:
ivan deng
2019-09-14 21:46:33 +08:00
parent 1cf62a7af8
commit 466b6bb6aa
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -42,7 +42,9 @@ odoo.define('app_odoo_customize.UserMenu', function (require) {
+ '"><img class="flag" src="app_odoo_customize/static/src/img/flags/' + lang['code'] + '.png"/>' + lang['name'] + a + '</a>'; + '"><img class="flag" src="app_odoo_customize/static/src/img/flags/' + lang['code'] + '.png"/>' + lang['name'] + a + '</a>';
}); });
lang_list += '<div role="separator" class="dropdown-divider"/>'; lang_list += '<div role="separator" class="dropdown-divider"/>';
$('switch-lang').replaceWith(lang_list); setTimeout( function() {
$('switch-lang').replaceWith(lang_list);
}, 1000);
}) })
//取参数 //取参数