Skip to content

Commit

Permalink
Merge PR #729 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 24, 2024
2 parents 0049b44 + d4dfcd5 commit e3def4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion account_statement_import_base/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ def _statement_line_import_speeddict(self):
["acc_number", "partner_id"],
)
for partner_bank in partner_banks:
speeddict["account_number"][partner_bank["acc_number"]] = {
sanitized_acc_number = self._sanitize_bank_account_number(
partner_bank["acc_number"]
)
speeddict["account_number"][sanitized_acc_number] = {
"partner_id": partner_bank["partner_id"][0],
"partner_bank_id": partner_bank["id"],
}
Expand Down

0 comments on commit e3def4a

Please sign in to comment.