From 1f4505b3b2043bed3fcc6fae153f69e15385057f Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 19 Jan 2026 23:59:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?document=5Fids=E6=8E=A5=E5=8F=A3=E5=A4=84?= =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_will_task/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_will_task/controllers/main.py b/yuthon_will_task/controllers/main.py index 41ffb2d76..70a002f65 100644 --- a/yuthon_will_task/controllers/main.py +++ b/yuthon_will_task/controllers/main.py @@ -111,7 +111,7 @@ class YuthonWillTask(http.Controller): file_list = [] pdf = ['application/pdf'] - for file in task.documents_ids: + for file in task.document_ids: base_url = request.env['ir.config_parameter'].sudo().get_param('web.base.url') file_url = f"http://view.officeapps.live.com/op/view.aspx?src=https://oa.thtzjt.com/web/content/office_preview/{file.id}" if file.mimetype in pdf: From 5bd63d463b779a0655f77ccab66436c6d47686e2 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: Tue, 20 Jan 2026 09:53:34 +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 --- 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 755a4ec4e..b22b580e6 100644 --- a/soong_workflow/models/soong_workflow_mixin.py +++ b/soong_workflow/models/soong_workflow_mixin.py @@ -137,7 +137,7 @@ class SoongWorkflowMixin(models.AbstractModel): def _compute_is_confirm(self): for record in self: record.is_confirm = False - record.is_end = False + record.is_end = True log_ids_domain = [ ('done_by', '=', self.env.user.id), ('workflow_id', '=', record.workflow_id.id),