From 8ba805bece680d84ee941e0f992d2d22dbb4dcbd 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: Thu, 20 Nov 2025 11:03:21 +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 bb535142c..cff9418ca 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -977,6 +977,7 @@ class PropertyAccountsReceivable(models.Model): model_type = model_type_data.get(rec.management_type_id.name) if rec.management_type_id.name == '违约金': rec.unlink() + continue if model_type in ('meter.archives.line', 'meter.water.line'): year = rec.due_date_end.year month = rec.due_date_end.month