From c390f5cee08d8dcde377e933bdfdb6f9b6ef34d3 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: Wed, 12 Nov 2025 10:49:30 +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/wizard/penalty_line_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property_approval/wizard/penalty_line_wizard.py b/yuthon_property_approval/wizard/penalty_line_wizard.py index fc2e719dd..a505cc319 100644 --- a/yuthon_property_approval/wizard/penalty_line_wizard.py +++ b/yuthon_property_approval/wizard/penalty_line_wizard.py @@ -83,7 +83,7 @@ class PenaltyLineWizard(models.Model): penalty_receivable = self.env['property.accounts.receivable'].search([ ('contract_id', '=', receivable.contract_id.id), - ('due_date', '=', next_month), + ('due_date', '=', penalty_start_date), ('is_reconciliation', '=', True), ('management_type_id.name', '=', '违约金'), ], limit=1)