fix menu bug

This commit is contained in:
ivan deng
2023-05-04 17:43:44 +08:00
parent 6b89a5cfa1
commit b18cac946e
3 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
{
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
'version': '16.23.04.23',
'version': '16.23.05.04',
'author': 'Sunpop.cn',
'category': 'Productivity',
'website': 'https://www.sunpop.cn',

View File

@@ -47,6 +47,8 @@
<div class="oe_span12">
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<h3>Update: v16.23.05.04</h3>
<p>Fix bug in mobile view in popup menu.</p>
<h3>Update: v16.23.02.17</h3>
<p>Fix odoo Debug and Debug Assets.</p>
<h3>Update: v16.23.02.06</h3>

View File

@@ -46,7 +46,7 @@ patch(UserMenu.prototype, "app_odoo_customize.UserMenu", {
}
if (session.app_show_account) {
userMenuRegistry.add("odoo_account", odooAccountItem, {'force': true});
} else if (userMenuRegistry.get('odoo_account')){
} else if (userMenuRegistry.get('odoo_account', false)){
try {
userMenuRegistry.remove("odoo_account");
} catch (err) {