From 9968e1431e84edc03db1104e8e56e83eaecee75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 9 Jan 2026 15:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_employee/models/yuthon_hr_employee.py | 1 + yuthon_hr_employee/views/yuthon_hr_employee_views.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/yuthon_hr_employee/models/yuthon_hr_employee.py b/yuthon_hr_employee/models/yuthon_hr_employee.py index 444d9b35a..2deef1a4a 100644 --- a/yuthon_hr_employee/models/yuthon_hr_employee.py +++ b/yuthon_hr_employee/models/yuthon_hr_employee.py @@ -55,6 +55,7 @@ class YuthonHrEmployee(models.Model): user_number_start_time = fields.Date(string="身份证开始时间") user_role_id = fields.Many2one('soong.user.role', string="主角色") user_role_ids = fields.Many2many('soong.user.role', string="辅助角色") + role_group_ids = fields.Many2many('soong.user.role.group', string='角色组') department_ids = fields.Many2many('hr.department', string="辅助部门") user_number_end_time = fields.Date(string="身份证到期时间") is_identification = fields.Boolean(string="是否填写身份证") diff --git a/yuthon_hr_employee/views/yuthon_hr_employee_views.xml b/yuthon_hr_employee/views/yuthon_hr_employee_views.xml index 0591259f0..91eb28a9f 100644 --- a/yuthon_hr_employee/views/yuthon_hr_employee_views.xml +++ b/yuthon_hr_employee/views/yuthon_hr_employee_views.xml @@ -604,7 +604,7 @@ - +