[FIX] Take moves from new refund journal types into account when matching transactions

This commit is contained in:
Stefan Rijnhart
2011-08-19 15:16:41 +02:00
parent 978cb47ce8
commit 1f11e2916a

View File

@@ -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