From fb4eed6cae745ada76f3bf87f5b1dc73bd066457 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Tue, 19 Aug 2025 11:09:38 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index b16f1356f..9883138dd 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -92,6 +92,7 @@ class PropertyBankStatements(models.Model): 'delivered1': None, 'payout_date': None, }) + return to_delete = penalty_records.filtered(lambda r: not r.is_write) if to_delete: