From e462965b383345c9d54ba0145a00b3e90c866c6a 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, 23 Oct 2025 19:32:50 +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/wizard/task_push_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property/wizard/task_push_wizard.py b/yuthon_property/wizard/task_push_wizard.py index 3be9b5afe..dc67314bb 100644 --- a/yuthon_property/wizard/task_push_wizard.py +++ b/yuthon_property/wizard/task_push_wizard.py @@ -92,7 +92,7 @@ class TaskPushWizard(models.TransientModel): prev_month = meter_month - 1 prev_year = meter_year prev_month_same_day = fields.Date.from_string(f"{prev_year}-{prev_month}-{meter_day}") - start_date = prev_month_same_day + timedelta(days=1) + start_date = prev_month_same_day.replace(day=15) + timedelta(days=1) end_date = meter_date.replace(day=15)