From 5c91a7f6957ff8b5980159c08208a430fef5abd9 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: Mon, 12 Jan 2026 14:52:47 +0800 Subject: [PATCH 1/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 --- soong_workflow/models/soong_workflow_mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soong_workflow/models/soong_workflow_mixin.py b/soong_workflow/models/soong_workflow_mixin.py index cd4a31d45..c26a71edc 100644 --- a/soong_workflow/models/soong_workflow_mixin.py +++ b/soong_workflow/models/soong_workflow_mixin.py @@ -488,7 +488,7 @@ class SoongWorkflowMixin(models.AbstractModel): trans_domain = [] is_supervising = False - if self._module in ['yuthon_official']: + if self.name_title in ['行政发文']: is_supervising = self.is_supervising if btn_rec.node_id.comment_id: From 0e64372f551cefbd50b5044d2ba680d59fafff9b Mon Sep 17 00:00:00 2001 From: pengyuthon Date: Mon, 12 Jan 2026 15:39:02 +0800 Subject: [PATCH 2/2] 1 --- soong_workflow/wizard/soong_workflow_comment_wizard.py | 2 +- yuthon_hr_employee/views/inherit_hr_job_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soong_workflow/wizard/soong_workflow_comment_wizard.py b/soong_workflow/wizard/soong_workflow_comment_wizard.py index 944da69be..265b0d526 100644 --- a/soong_workflow/wizard/soong_workflow_comment_wizard.py +++ b/soong_workflow/wizard/soong_workflow_comment_wizard.py @@ -25,7 +25,7 @@ class SoongWorkflowCommentWizard(models.TransientModel): node_link_len = fields.Char(string="转交2") is_supervising = fields.Boolean(string="是否督办") comment_note_id = fields.Many2one('soong.note', string="常用意见") - comment_note = fields.Char(string="意见") + comment_note = fields.Text(string="意见") comment = fields.Char(compute='_compute_comment', store=True) state_list = fields.Char(string="状态列表") record_id = fields.Integer() diff --git a/yuthon_hr_employee/views/inherit_hr_job_views.xml b/yuthon_hr_employee/views/inherit_hr_job_views.xml index 312856978..845d9b0d1 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 - +