未对挂账报表

This commit is contained in:
李鹏宇
2026-05-18 17:10:07 +08:00
parent 9eaf23ff3f
commit 87959a3d2c
@@ -19,6 +19,9 @@ class BankStatementsReport(models.Model):
# 过滤 bank_state 为 '挂账' 和 '未对账'
domain.append(('bank_state', 'in', ['not_reconciled', 'registered']))
# 过滤 lending_direction 为 'borrow' (借方)
domain.append(('lending_direction', '=', 'borrow'))
# 公司搜索条件
company_id = params.get('company_id')
if company_id: