From e6914bfa9c87e06b8534547af6e0107330f812fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Mon, 30 Mar 2015 23:01:22 +0300 Subject: [PATCH] Added modification that fanzalika pointed out --- .../account_banking_reconciliation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_banking_reconciliation/account_banking_reconciliation.py b/account_banking_reconciliation/account_banking_reconciliation.py index e9d694e9d..53b50a049 100644 --- a/account_banking_reconciliation/account_banking_reconciliation.py +++ b/account_banking_reconciliation/account_banking_reconciliation.py @@ -523,6 +523,7 @@ class bank_acc_rec_statement(orm.Model): ('account_id', '=', obj.account_id.id), ('move_id.state', '=', 'posted'), ('cleared_bank_account', '=', False), + ('journal_id.type', '!=', 'situation'), ] # if not keep_previous_uncleared_entries: @@ -646,7 +647,8 @@ class bank_acc_rec_statement(orm.Model): domain = [ ('account_id', '=', account_id), ('move_id.state', '=', 'posted'), - ('cleared_bank_account', '=', False) + ('cleared_bank_account', '=', False), + ('journal_id.type', '!=', 'situation'), ] if not keep_previous_uncleared_entries: domain += [('draft_assigned_to_statement', '=', False)]