From 9b654a04e8e6f628e1bb7cce4cd1b01155403fbc 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: Mon, 13 Apr 2026 21:16:19 +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/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 72ae11952..5d36fe53b 100644 --- a/yuthon_property/models/property_accounts_receivable.py +++ b/yuthon_property/models/property_accounts_receivable.py @@ -90,7 +90,7 @@ class PropertyAccountsReceivable(models.Model): for record in rent_ids: contract = record.contract_id is_ended = False - if record.delivered1 : + if round(record.delivered1, 2) : if record.original_amount == round(record.delivered1, 2) + round(record.discount_amount, 2): record.deposit_state = 'paid' else: