diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py index a1bacfc7c2b..416f6b18493 100644 --- a/addons/account/models/account_bank_statement.py +++ b/addons/account/models/account_bank_statement.py @@ -852,7 +852,7 @@ class AccountBankStatementLine(models.Model): # Create counterpart move lines and reconcile them for aml_dict in counterpart_aml_dicts: - if aml_dict['move_line'].payment_id: + if aml_dict['move_line'].payment_id and not aml_dict['move_line'].statement_line_id: aml_dict['move_line'].write({'statement_line_id': self.id}) if aml_dict['move_line'].partner_id.id: aml_dict['partner_id'] = aml_dict['move_line'].partner_id.id