Merge pull request #13 from hbrunn/6.1_move_match_partner_id

[IMP] account_banking: only match moves if partner id matches partner ids we got
This commit is contained in:
Pedro M. Baeza
2014-08-31 18:16:44 +02:00

View File

@@ -323,7 +323,8 @@ class banking_import_transaction(osv.osv):
and str2date(x.date, '%Y-%m-%d') <=
(str2date(trans.execution_date, '%Y-%m-%d') +
self.payment_window)
and (not _cached(x) or _remaining(x)))
and (not _cached(x) or _remaining(x))
and x.partner_id.id in partner_ids)
]
move_line = False