~therp-nl/banking-addons/6.0-iban-preserve-domestic

« back to all changes in this revision

Viewing changes to account_banking/wizard/bank_import.py

  • Committer: Stefan Rijnhart
  • Date: 2011-08-19 13:16:41 UTC
  • Revision ID: stefan@therp.nl-20110819131641-odhlgngerwqfs99p
[FIX] Take moves from new refund journal types into account when matching transactions

Show diffs side-by-side

added added

removed removed

Lines of Context:
541
541
 
542
542
            # Get interesting journals once
543
543
            journal_ids = journal_obj.search(cursor, uid, [
544
 
                ('type', 'in', ('sale','purchase')),
 
544
                ('type', 'in', ('sale','purchase',
 
545
                                'purchase_refund','sale_refund')),
545
546
                ('company_id', '=', company.id),
546
547
            ])
547
548
            # Get all unreconciled moves predating the last statement in one big