From 1b6ea810b2d589c77acdd472d36db46d162537ed Mon Sep 17 00:00:00 2001 From: qitangbo Date: Mon, 21 Sep 2026 17:49:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(college):=20=E5=BA=94=E7=94=A8=E7=B1=BB?= =?UTF-8?q?=E5=88=AB=E9=85=8D=E7=BD=AE=E8=8F=9C=E5=8D=95+=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E5=88=97=E5=90=8D=E3=80=81=E8=AF=BE=E7=A8=8B=E5=A4=A7?= =?UTF-8?q?=E7=BA=B2=E5=AD=97=E6=AE=B5=E3=80=81=E9=9A=90=E8=97=8F=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E5=88=87=E6=8D=A2=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- college/models/course.py | 1 + college/static/src/scss/college_theme.scss | 8 +++++++ college/views/menus.xml | 27 ++++++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/college/models/course.py b/college/models/course.py index 67aad2e..fcb67bb 100644 --- a/college/models/course.py +++ b/college/models/course.py @@ -75,6 +75,7 @@ class SchoolCourse(models.Model): introduction = fields.Html(string='课程介绍', sanitize=True) objectives = fields.Html(string='课程目标', sanitize=True) features = fields.Html(string='课程特色', sanitize=True) + syllabus = fields.Html(string='课程大纲', sanitize=True) business_scenario = fields.Html(string='业务情景', sanitize=True) # 学员分配 diff --git a/college/static/src/scss/college_theme.scss b/college/static/src/scss/college_theme.scss index ac999bf..71d66ae 100644 --- a/college/static/src/scss/college_theme.scss +++ b/college/static/src/scss/college_theme.scss @@ -267,3 +267,11 @@ p, li { color: $o-main-text-color; } } +// ============================================================ +// 隐藏右上角「公司切换器」(我的学校) +// 项目为单学校场景,不需要用户切换公司。 +// ============================================================ +.o_switch_company_menu { + display: none !important; +} + diff --git a/college/views/menus.xml b/college/views/menus.xml index e8e78e6..9eb07d4 100644 --- a/college/views/menus.xml +++ b/college/views/menus.xml @@ -392,4 +392,31 @@ else: action="action_yuthon_about_question_import" sequence="60" groups="college.group_teacher,base.group_system"/> + + + + + ir.module.category.list (college) + ir.module.category + + + + + + + + + + + + 应用类别配置 + ir.module.category + list,form + + +