From 6741ecfe84e4b4e41ea6f977eb1058508323d51e 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, 26 Mar 2026 18:29:58 +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 --- .../wizard/property_reconciliation_wizard.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 72345e0ce..7d3ea1fc9 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -105,6 +105,7 @@ class PropertyReconciliationWizard(models.Model): 'water_fee': '水费', 'lightbox': '灯箱', 'guanzijian': '管子间', + 'rename_fee': '更名费', 'electricity_fee': '电费', 'penalty': '违约金', 'management_fee': '管理费', @@ -132,6 +133,7 @@ class PropertyReconciliationWizard(models.Model): 'lightbox': '灯箱', 'guanzijian': '管子间', 'electricity_fee': '电费', + 'rename_fee': '更名费', 'penalty': '违约金', 'management_fee': '管理费', 'repair_fee': '维修费', @@ -265,7 +267,7 @@ class PropertyReconciliationWizard(models.Model): """ remaining_amount = self.bank_id.no_amount penalty_lines = [line for line in self.reconciliation_line_ids if line.collection_type == "penalty"] # 违约金行 - rent_lines = [line for line in self.reconciliation_line_ids if line.contract_id.contract_code == "(租)(管)TX2023-072"] # 租金行 + rent_lines = [line for line in self.reconciliation_line_ids if line.collection_type == "rent"] # 租金行 type_priority = { 'deposit': 1, # 押金优先