From f86c137e1efb0dc60994ac8533a3138e886911ec Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 31 May 2023 16:52:02 +0200 Subject: [PATCH] [FIX] account_reconciliation_widget: Hide own reconcilable items If the journal destination account is reconcilable, as the journal entry is pre-generated before reconciling, the line is appearing in the reconciliation widget, provoking user confusion and error if that one is selected. We explicitly exclude in the matching domain for avoiding the problem. TT42983 --- account_reconciliation_widget/models/reconciliation_widget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account_reconciliation_widget/models/reconciliation_widget.py b/account_reconciliation_widget/models/reconciliation_widget.py index cf78eb6f..7d6b5679 100644 --- a/account_reconciliation_widget/models/reconciliation_widget.py +++ b/account_reconciliation_widget/models/reconciliation_widget.py @@ -794,6 +794,8 @@ class AccountReconciliation(models.AbstractModel): "&", "&", "&", + "&", + ("id", "not in", st_line.move_id.line_ids.ids), ("reconciled", "=", False), ("account_id.reconcile", "=", True), ("balance", "!=", 0.0),