From 21546bff8db3c01b989aca31281588c79387d810 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, 27 Nov 2025 18:58:56 +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_property_approval/models/property_lease_renewal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property_approval/models/property_lease_renewal.py b/yuthon_property_approval/models/property_lease_renewal.py index 5a1f0c3f3..8190c6b87 100644 --- a/yuthon_property_approval/models/property_lease_renewal.py +++ b/yuthon_property_approval/models/property_lease_renewal.py @@ -217,7 +217,7 @@ class PropertyLeaseRenewal(models.Model): self.env['property.bank.statements'].sudo().create({ 'start_time': start_time, 'original_amount': rec.balance, - 'name_account': rec.new_lessee_id.name, + 'name_account': rec.lessee_id.name, 'remake': f'合同为{rec.contract_id.contract_code}{rec.remake}', })