mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Merge pull request #12 from hbrunn/7.0_move_match_partner_id
[IMP] only match moves if partner id matches partner ids we got
This commit is contained in:
@@ -280,7 +280,8 @@ class banking_import_transaction(orm.Model):
|
||||
and convert.str2date(x.date, '%Y-%m-%d') <=
|
||||
(convert.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
|
||||
|
||||
Reference in New Issue
Block a user