mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix menu bug
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
'name': 'odoo 16 Customize OEM(Boost, Data reset)',
|
||||||
'version': '16.23.04.23',
|
'version': '16.23.05.04',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -47,6 +47,8 @@
|
|||||||
<div class="oe_span12">
|
<div class="oe_span12">
|
||||||
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
|
<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%;">
|
<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>
|
<h3>Update: v16.23.02.17</h3>
|
||||||
<p>Fix odoo Debug and Debug Assets.</p>
|
<p>Fix odoo Debug and Debug Assets.</p>
|
||||||
<h3>Update: v16.23.02.06</h3>
|
<h3>Update: v16.23.02.06</h3>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ patch(UserMenu.prototype, "app_odoo_customize.UserMenu", {
|
|||||||
}
|
}
|
||||||
if (session.app_show_account) {
|
if (session.app_show_account) {
|
||||||
userMenuRegistry.add("odoo_account", odooAccountItem, {'force': true});
|
userMenuRegistry.add("odoo_account", odooAccountItem, {'force': true});
|
||||||
} else if (userMenuRegistry.get('odoo_account')){
|
} else if (userMenuRegistry.get('odoo_account', false)){
|
||||||
try {
|
try {
|
||||||
userMenuRegistry.remove("odoo_account");
|
userMenuRegistry.remove("odoo_account");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user