mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
@@ -11,5 +11,7 @@ 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 IS NOT TRUE'
|
||||
rule = self.env["account.reconcile.model"].browse(params[1])
|
||||
if rule.rule_type == "invoice_matching":
|
||||
query += ' AND account.exclude_bank_reconcile IS NOT TRUE'
|
||||
return query, params
|
||||
|
||||
Reference in New Issue
Block a user