diff --git a/yuthon_hr_employee/models/hr_employee_page.py b/yuthon_hr_employee/models/hr_employee_page.py index 73564eb57..a83e919a0 100644 --- a/yuthon_hr_employee/models/hr_employee_page.py +++ b/yuthon_hr_employee/models/hr_employee_page.py @@ -44,9 +44,9 @@ class YuthonEducationExperienceLine(models.Model): end_date = fields.Date(string="毕业时间") in_school_duties = fields.Char(string="在校职务") professional = fields.Char(string="专业") - Part_time_degree = fields.Char(string="非全日制学历学位") - full_time_degree = fields.Char(string="全日制学历学位") - major_courses = fields.Char(string="主修课程") + learning_style = fields.Selection([('full_time', '全日制'), ('part_time', '非全日制')], string="学习方式") + part_time_degree = fields.Char(string="学历") + full_time_degree = fields.Char(string="学位") documents_ids = fields.Many2many('ir.attachment', string="附件") diff --git a/yuthon_hr_employee/views/yuthon_hr_employee_views.xml b/yuthon_hr_employee/views/yuthon_hr_employee_views.xml index c28f1a551..95d4a25aa 100644 --- a/yuthon_hr_employee/views/yuthon_hr_employee_views.xml +++ b/yuthon_hr_employee/views/yuthon_hr_employee_views.xml @@ -162,13 +162,13 @@ + - + -