mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
prepare #I6FP6G 【app_odoo_customize】增加菜单中换语言的功能
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user