From ab62d0e79b0e1422d44b6fa9c5b0ec75060b3699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 8 Oct 2026 20:18:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=8F=9C=E5=8D=95=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- college/__manifest__.py | 2 +- college/static/src/xml/sidenav_tooltip.xml | 48 +++++++++++++--------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/college/__manifest__.py b/college/__manifest__.py index 6dfba06..596aa53 100644 --- a/college/__manifest__.py +++ b/college/__manifest__.py @@ -1,6 +1,6 @@ { 'name': '教育', - 'version': '18.0.3.0.9', + 'version': '18.0.3.1.0', 'summary': 'Odoo 18 教学管理平台 — 师生管理 + 课程管理 + 作业/进展(老师·学生双角色)', 'description': """ Odoo 18 教学管理平台(面向老师与学生,双角色权限) diff --git a/college/static/src/xml/sidenav_tooltip.xml b/college/static/src/xml/sidenav_tooltip.xml index 915df40..504d77e 100644 --- a/college/static/src/xml/sidenav_tooltip.xml +++ b/college/static/src/xml/sidenav_tooltip.xml @@ -2,28 +2,38 @@ - - - { - href: getMenuItemHref(app), - 'data-menu-xmlid': app.xmlid, - 'data-section': app.id, - 'data-tooltip': ue.sidenavWidth < 142 ? (app.label or app.name) : false, - 'data-tooltip-position': 'right' - } + + + + ue.sidenavWidth < 142 ? (app.label or app.name) : false + right + + + + ue.sidenavWidth < 142 ? (currentApp.label or currentApp.name) : false + right