mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
init o18科目表, todo: 科目组未能初始化
This commit is contained in:
@@ -95,7 +95,7 @@ patch(UserMenu.prototype, {
|
||||
browser.clearTimeout(self.toggleTimer);
|
||||
if (self.user_lang !== lang_code) {
|
||||
const res = await self.orm.call("res.users", "write", [
|
||||
session.user_id[0], {'lang': lang_code}
|
||||
user.userId, {'lang': lang_code}
|
||||
]);
|
||||
location.reload();
|
||||
// 调用 action , 要先定义 self.action = useService("action")
|
||||
|
||||
Reference in New Issue
Block a user