init o18科目表, todo: 科目组未能初始化

This commit is contained in:
Ivan Office
2024-11-04 18:32:45 +08:00
parent d702022230
commit 46c0e69dc9
28 changed files with 1309 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
{
'name': 'odoo18 Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data,Development Enhance',
'version': '24.10.31',
'version': '24.11.04',
'author': 'odooai.cn',
'category': 'Extra Tools',
'website': 'https://www.odooai.cn',

View File

@@ -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")