From 2e6369803f695ade4a2e4303290f860d00e4489c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Tue, 19 May 2026 10:07:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E5=AF=B9=E6=8C=82=E8=B4=A6=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_report/models/bank_statements_report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_report/models/bank_statements_report.py b/yuthon_report/models/bank_statements_report.py index 11ed35f9b..a72ec988f 100644 --- a/yuthon_report/models/bank_statements_report.py +++ b/yuthon_report/models/bank_statements_report.py @@ -19,8 +19,8 @@ class BankStatementsReport(models.Model): # 过滤 bank_state 为 '挂账' 和 '未对账' domain.append(('bank_state', 'in', ['not_reconciled', 'registered'])) - # 过滤 lending_direction 为 'borrow' (借方) - domain.append(('lending_direction', '=', 'borrow')) + # 过滤 lending_direction 为 'loan' (贷方) + domain.append(('lending_direction', '=', 'loan')) # 公司搜索条件 company_id = params.get('company_id')