qtb
master
# Conflicts: # college/data/about_pages.xml
- exam_controller: 兼容学生档案未绑登录账号(paper.user_id为空)的考试访问校验 - menus.xml: 实训管理顺序15、考试根菜单改名'考试管理'顺序25、子菜单改'考试列表'避免重名 - odoosh_menus.xml: 快捷菜单'我的实训'改名'实训管理' (cherry picked from commit 02a960f62b8f3aae4f0a975e9860567afef4e1a5)
实训模块/应用主页的 ir.module.module 看板: - KanbanController.setup 在 env.config 打隐藏标记(仅 kanban,list 不受影响) - Pager.setup 读到标记后挂载时加 class o_pager_hide_total - JS 注入 CSS 隐藏分页器的" / "分隔 span 和总数 span - 真实总数照常统计,只是不显示;翻页/锁50行为不变 - 本地已用 ir.qweb._get_asset_content 真实编译 bundle 验证补丁在位
上个提交在 Pager.prototype.setup 里用 this.root.el 加 class,但 OWL 2 的 Component 基类没有 root 属性(ControlPanel 的 this.root 是它自己 useRef("root") 建的,Pager 模板没有该 ref),导致 TypeError: Cannot read properties of undefined (reading 'el'), 后台整个 OWL 生命周期报错崩溃。 改为官方扩展点模板继承: - 新增 xml/module_list_pager.xml,t-inherit 扩展 web.Pager, 给 nav 加 t-att-class,env.config 带标记时输出 o_pager_hide_total - js/module_list_cap.js 删掉 Pager patch 与 onMounted,保留 env 标记 - manifest 注册新 xml - 已编译级验证:o_pager_hide_total 进入 bundle,日志无模板警告
No dependencies set.
The note is not visible to the blocked user.
上个提交在 Pager.prototype.setup 里用 this.root.el 加 class,但 OWL 2 的 Component 基类没有 root 属性(ControlPanel 的 this.root 是它自己 useRef("root") 建的,Pager 模板没有该 ref),导致 TypeError: Cannot read properties of undefined (reading 'el'), 后台整个 OWL 生命周期报错崩溃。 改为官方扩展点模板继承: - 新增 xml/module_list_pager.xml,t-inherit 扩展 web.Pager, 给 nav 加 t-att-class,env.config 带标记时输出 o_pager_hide_total - js/module_list_cap.js 删掉 Pager patch 与 onMounted,保留 env 标记 - manifest 注册新 xml - 已编译级验证:o_pager_hide_total 进入 bundle,日志无模板警告