From b2b60399e3d052276e96e67e4f0a0e2a08caf41b Mon Sep 17 00:00:00 2001 From: ljmwkx <1340053001@qq.com> Date: Tue, 7 Jan 2025 21:14:57 +0800 Subject: [PATCH] 1 --- yuthon_property_approval/models/property_lease_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index 0bc7dd86c..4a0a52912 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -451,7 +451,7 @@ class PropertyLeaseContract(models.Model): "monthly_amount": monthly_amount, "breakdown_id": self.id, "start_data": free_start, - "end_data": first_years_begin_end, + "end_data": first_years_begin_end - relativedelta(days=1), "month_number": first_months, "period_rent": first_months * monthly_amount, })]})