[FIX] account_bank_statement: reconciliation line
The propositions of reconciliation for a bank statement line must be taken from account move lines with the same partner_id of this bank statement line or without partner_id. opw:647199
This commit is contained in:
parent
7349e23837
commit
d98f1ef0e7
|
@ -531,7 +531,8 @@ class account_bank_statement_line(osv.osv):
|
|||
('reconcile_id', '=', False),
|
||||
('state', '=', 'valid'),
|
||||
('account_id.reconcile', '=', True),
|
||||
('id', 'not in', excluded_ids)]
|
||||
('id', 'not in', excluded_ids),
|
||||
('partner_id', 'in', (False, st_line.partner_id.id))]
|
||||
return domain
|
||||
|
||||
def get_reconciliation_proposition(self, cr, uid, st_line, excluded_ids=None, context=None):
|
||||
|
|
Loading…
Reference in New Issue