mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix odoo customize
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odoo 16,15 Customize OEM(Boost, Data reset)',
|
'name': 'odoo 16,15 Customize OEM(Boost, Data reset)',
|
||||||
'version': '15.22.09.28',
|
'version': '15.23.02.17',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user