From 1f11e2916ad0f4183e2c50922f0f4186968e16dd Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Fri, 19 Aug 2011 15:16:41 +0200 Subject: [PATCH] [FIX] Take moves from new refund journal types into account when matching transactions --- account_banking/wizard/bank_import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/account_banking/wizard/bank_import.py b/account_banking/wizard/bank_import.py index f667ce2c4..573f26d44 100644 --- a/account_banking/wizard/bank_import.py +++ b/account_banking/wizard/bank_import.py @@ -541,7 +541,8 @@ class banking_import(osv.osv_memory): # Get interesting journals once journal_ids = journal_obj.search(cursor, uid, [ - ('type', 'in', ('sale','purchase')), + ('type', 'in', ('sale','purchase', + 'purchase_refund','sale_refund')), ('company_id', '=', company.id), ]) # Get all unreconciled moves predating the last statement in one big