mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user