mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[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
This commit is contained in:
@@ -798,6 +798,8 @@ class AccountReconciliation(models.AbstractModel):
|
|||||||
"&",
|
"&",
|
||||||
"&",
|
"&",
|
||||||
"&",
|
"&",
|
||||||
|
"&",
|
||||||
|
("id", "not in", st_line.move_id.line_ids.ids),
|
||||||
("reconciled", "=", False),
|
("reconciled", "=", False),
|
||||||
("account_id.reconcile", "=", True),
|
("account_id.reconcile", "=", True),
|
||||||
("balance", "!=", 0.0),
|
("balance", "!=", 0.0),
|
||||||
|
|||||||
Reference in New Issue
Block a user