From 76672ce2474f2b12cd693528cdf97ad37b6a71eb Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 31 Jul 2025 21:33:12 +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 --- .../wizard/property_reconciliation_wizard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 35bc67796..fadd94702 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -122,8 +122,7 @@ class PropertyReconciliationWizard(models.Model): # 跳过金额为0的行 if line.amount == 0 and line.collection_type != 'penalty': continue - due_date = line.due_date - first_day = due_date.replace(day=1) + first_day = self.actual_date.replace(day=1) last_day = (first_day + relativedelta(months=1)) - relativedelta(days=1) domain = [ ('lessee_id', '=', first_line.tenant_id.id),