未对挂账报表

This commit is contained in:
李鹏宇
2026-05-19 10:07:41 +08:00
parent e60e0bce05
commit 2e6369803f
@@ -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')