From 62cb9c0ce5db58fe7c283a4501b613f55ea0efa7 Mon Sep 17 00:00:00 2001
From: zhou <123@>
Date: Sun, 2 Mar 2025 13:51:10 +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_official/models/yuthon_official.py | 2 +-
yuthon_official/views/yuthon_official_views.xml | 10 +++++++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/yuthon_official/models/yuthon_official.py b/yuthon_official/models/yuthon_official.py
index 1a439cdc8..2e80d40e6 100644
--- a/yuthon_official/models/yuthon_official.py
+++ b/yuthon_official/models/yuthon_official.py
@@ -33,6 +33,7 @@ class YuthonOfficial(models.Model):
department_id = fields.Many2one('hr.department', string="申请人部门")
official_statu = fields.Selection([('done', '办结'), ('approval', '审核')], string="公文环节")
is_meet = fields.Boolean(string="是否上会")
+ related_issues_id = fields.Many2one('issue.library', string="关联议题")
is_official_incoming = fields.Boolean(string="是否收文")
active = fields.Boolean('Active', default=True, tracking=True)
@@ -42,7 +43,6 @@ class YuthonOfficial(models.Model):
is_supervising = fields.Boolean(string="是否督办")
deadline = fields.Date(string="办理期限")
done_date = fields.Date(string="完成时间")
-
workflow_inspector_ids = fields.One2many('soong.workflow.inspector', 'yuthon_official_id', string="督办事项")
room_booking_ids = fields.One2many('room.booking', 'yuthon_official_id', string="会议关联")
issue_library_ids = fields.One2many('issue.library', 'yuthon_official_id', string="议题关联")
diff --git a/yuthon_official/views/yuthon_official_views.xml b/yuthon_official/views/yuthon_official_views.xml
index 02f00fcb1..19e13dd85 100644
--- a/yuthon_official/views/yuthon_official_views.xml
+++ b/yuthon_official/views/yuthon_official_views.xml
@@ -29,14 +29,19 @@
invisible="urgency_level != 'urgent'"/>
-
+
-
+
+
+
+
+
+
@@ -52,7 +57,6 @@
-