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')