prepare #I6FP6G 【app_odoo_customize】增加菜单中换语言的功能

This commit is contained in:
ivan deng
2023-02-17 01:50:16 +08:00
parent c113f74ee2
commit af1c4e57d0

View File

@@ -26,6 +26,8 @@ patch(UserMenu.prototype, "app_odoo_customize.UserMenu", {
.add("support", supportItem)
.add("odoo_account", odooAccountItem);
// todo: 处理语言列表rpc取值同上处理 userMenuRegistry.add("slang_"+语言代码, debugItem(语言代码))
// todo: 语言图片的处理,可以扩展 @web/webclient/user_menu/user_menu 参考 CheckBox 的处理。
// 建议直接CheckBox这个类型改增加个 element.img的处理选中的语言就是 ischecked的
},
// getElements() {
// var ret = this._super.apply(this, arguments);