fix 权限相关

This commit is contained in:
ivan deng
2023-04-23 12:45:20 +08:00
parent 2ad4af1895
commit e00da2e2ad
2 changed files with 1 additions and 2 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.04.21', 'version': '16.23.04.23',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Productivity', 'category': 'Productivity',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',

View File

@@ -39,7 +39,6 @@ patch(UserMenu.prototype, "app_odoo_customize.UserMenu", {
} catch (err) { } catch (err) {
console.log(err); console.log(err);
} }
userMenuRegistry.remove("support");
} }
if (session.app_show_account) { if (session.app_show_account) {
userMenuRegistry.add("odoo_account", odooAccountItem, {'force': true}); userMenuRegistry.add("odoo_account", odooAccountItem, {'force': true});