From 5defc803b1671c0147268bf83ccd1c9af36e876e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 15 Jan 2026 10:20:27 +0800 Subject: [PATCH 1/2] 1 --- yuthon_hr_employee/views/inherit_hr_job_views.xml | 2 +- yuthon_official/views/yuthon_official_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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 @@ - > + From 74a811319b4ee4edba54cbdcdfd7f357b9a766c7 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: Thu, 15 Jan 2026 11:00:22 +0800 Subject: [PATCH 2/2] =?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_official/models/yuthon_file_processing.py | 4 ++-- yuthon_official/views/yuthon_file_processing_views.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 @@ - - + +