[IMP] only match moves if partner id matches partner ids we got

This commit is contained in:
Holger Brunn
2014-07-11 16:05:58 +02:00
parent 21519237a0
commit a03dc30c54

View File

@@ -321,7 +321,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