diff --git a/yuthon_hr_employee/views/inherit_hr_job_views.xml b/yuthon_hr_employee/views/inherit_hr_job_views.xml index 845d9b0d1..312856978 100644 --- a/yuthon_hr_employee/views/inherit_hr_job_views.xml +++ b/yuthon_hr_employee/views/inherit_hr_job_views.xml @@ -82,7 +82,7 @@ 1 - + diff --git a/yuthon_official/models/yuthon_file_processing.py b/yuthon_official/models/yuthon_file_processing.py index 3308a7b32..dc757ed08 100644 --- a/yuthon_official/models/yuthon_file_processing.py +++ b/yuthon_official/models/yuthon_file_processing.py @@ -20,8 +20,8 @@ class YuthonFileProcessing(models.Model): main_text = fields.Text(string='文件内容') come_file_id = fields.Char(string="来文编号") incoming_file_id = fields.Char(string="收文编号") - main_flats_id = fields.Many2one('main.flats', string="主送单位") - copy_flats_id = fields.Many2one('main.flats', string="抄送单位") + main_flats_ids = fields.Many2many('main.flats', string="主送单位") + copy_flats_ids = fields.Many2many('main.flats', string="抄送单位") department_ids = fields.Many2many('hr.department', string='部门范围') employee_ids = fields.Many2many('hr.employee', string='人员范围') users_role_ids = fields.Many2many('soong.user.role', string='角色范围') diff --git a/yuthon_official/views/yuthon_file_processing_views.xml b/yuthon_official/views/yuthon_file_processing_views.xml index 79d94190c..43daada6e 100644 --- a/yuthon_official/views/yuthon_file_processing_views.xml +++ b/yuthon_official/views/yuthon_file_processing_views.xml @@ -71,8 +71,8 @@ - - + + diff --git a/yuthon_official/views/yuthon_official_views.xml b/yuthon_official/views/yuthon_official_views.xml index 89245e416..86e91871e 100644 --- a/yuthon_official/views/yuthon_official_views.xml +++ b/yuthon_official/views/yuthon_official_views.xml @@ -94,7 +94,7 @@ - > +