From 54b4d60bc41235eb42ec7af61fceb704febd55ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Tue, 14 Apr 2026 15:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=85=8D=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property/models/property_accounts_receivable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_property/models/property_accounts_receivable.py b/yuthon_property/models/property_accounts_receivable.py index e4b66a219..820399878 100644 --- a/yuthon_property/models/property_accounts_receivable.py +++ b/yuthon_property/models/property_accounts_receivable.py @@ -188,7 +188,7 @@ class PropertyAccountsReceivable(models.Model): def _onchange_discount_amount(self): for record in self: if record.discount_amount: - record.discount_date = fields.Date.today() - timedelta(hours=8), + record.discount_date = fields.Date.today() - timedelta(hours=8) else: record.discount_date = False