From 387fbaa80b2e628ce33871fe91cb72744a2fbd8f Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 1 Aug 2025 18:44:14 +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/inherit_yuthon_property.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index 2a1e3a745..b783406c7 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -274,8 +274,9 @@ class PropertyBankStatements(models.Model): :param total_rent_month: 应收总金额 :return: """ + start_time = self.start_time + relativedelta(hours=8) context = { - "default_actual_date": fields.Date.to_date(self.start_time), + "default_actual_date": fields.Date.to_date(start_time), "default_bank_id": self.id, "default_account": record.name, "default_actual_total": record.original_amount,