fix app_odoo_customize

This commit is contained in:
ivan deng
2023-02-17 00:34:30 +08:00
parent 2e2dac8712
commit c5e874e0a4
5 changed files with 7 additions and 1 deletions

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 KiB

After

Width:  |  Height:  |  Size: 430 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

View File

@@ -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.02.17</h3>
<p>Fix odoo Debug and Debug Assets.</p>
<h3>Update: v16.23.02.06</h3> <h3>Update: v16.23.02.06</h3>
<p>Fix odoo ribbon.</p> <p>Fix odoo ribbon.</p>
<p>Fix odoo translate update.</p> <p>Fix odoo translate update.</p>

View File

@@ -11,6 +11,10 @@ const userMenuRegistry = registry.category("user_menuitems");
patch(UserMenu.prototype, "app_odoo_customize.UserMenu", { patch(UserMenu.prototype, "app_odoo_customize.UserMenu", {
setup() { setup() {
this._super.apply(this, arguments); this._super.apply(this, arguments);
userMenuRegistry.remove("debug");
userMenuRegistry.remove("asset_asset");
userMenuRegistry.remove("leave_debug");
userMenuRegistry.remove("separator0");
userMenuRegistry.remove("documentation"); userMenuRegistry.remove("documentation");
userMenuRegistry.remove("support"); userMenuRegistry.remove("support");
userMenuRegistry.remove("odoo_account"); userMenuRegistry.remove("odoo_account");