mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] Correctly skip matching only when exclude_bank_reconcile is True
This commit is contained in:
@@ -11,5 +11,5 @@ class AccountReconcileModel(models.Model):
|
||||
def _apply_conditions(self, query, params):
|
||||
query, params = super(
|
||||
AccountReconcileModel, self)._apply_conditions(query, params)
|
||||
query += ' AND account.exclude_bank_reconcile = False'
|
||||
query += ' AND account.exclude_bank_reconcile IS NOT TRUE'
|
||||
return query, params
|
||||
|
||||
Reference in New Issue
Block a user