From d4d068513163d4cfbbe36a9f063361ecfc664867 Mon Sep 17 00:00:00 2001 From: Benoit Aimont Date: Mon, 31 May 2021 15:28:20 +0200 Subject: [PATCH] [FIX] blue lines in bank statements, compat with OCA/bank-payment --- addons/account/models/reconciliation_widget.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/account/models/reconciliation_widget.py b/addons/account/models/reconciliation_widget.py index 56d4a2a13e169..5b291cc4e8927 100644 --- a/addons/account/models/reconciliation_widget.py +++ b/addons/account/models/reconciliation_widget.py @@ -553,10 +553,9 @@ def _domain_move_lines_for_reconciliation(self, st_line, aml_accounts, partner_i excluded_ids.extend(to_check_excluded) domain_reconciliation = [ - '&', '&', '&', + '&', '&', ('statement_line_id', '=', False), ('account_id', 'in', aml_accounts), - ('payment_id', '<>', False), ('balance', '!=', 0.0), ]