mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconciliation_widget: Don't suggest non posted moves
Fixes #429
This commit is contained in:
@@ -790,11 +790,13 @@ class AccountReconciliation(models.AbstractModel):
|
||||
)
|
||||
# default domain matching
|
||||
domain_matching = [
|
||||
"&",
|
||||
"&",
|
||||
"&",
|
||||
("reconciled", "=", False),
|
||||
("account_id.reconcile", "=", True),
|
||||
("balance", "!=", 0.0),
|
||||
("parent_state", "=", "posted"),
|
||||
]
|
||||
|
||||
domain = expression.OR([domain_reconciliation, domain_matching])
|
||||
|
||||
Reference in New Issue
Block a user