mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Take moves from new refund journal types into account when matching transactions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user