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 + + +