From 5beb1233591063ea832e08fcb87801bba97697f7 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, 22 Jan 2026 15:02:48 +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 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_official/models/yuthon_official.py b/yuthon_official/models/yuthon_official.py index 38bc370d2..f8baca6f0 100644 --- a/yuthon_official/models/yuthon_official.py +++ b/yuthon_official/models/yuthon_official.py @@ -100,7 +100,7 @@ class YuthonOfficial(models.Model): 'state': '申请人', 'code': self.env['ir.sequence'].next_by_code('sub_enterprises_code'), 'official_partner_id': official_partner_id.id, - 'reason_application': 'main_text', + 'reason_application': self.main_text, 'document_ids': [(6, 0, all_document_ids)] if all_document_ids else False }) workflow_id = self.env['soong.workflow.record'].search([('code', '=', self.code)], limit=1).id