[FIX] account_ebics: IndexError in _split_camt for camt.054

Fix IndexError in _split_camt when camt.054 has no currency at statement level.
This commit implements the following changes:
- discard statements without entries before attempting currency extraction
- fall back to Ntry/Amt/@Ccy for camt.054 when Acct/Ccy and Bal/Amt/@Ccy are absent
This commit is contained in:
Luc De Meyer committed 2026-10-09 17:52:28 +02:00
1 parent a658ce9bd4
commit 63835d013e
3 files changed
+26 -20

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[account_ebics](account_ebics/) | 18.0.1.2.1 | | EBICS banking protocol
[account_ebics](account_ebics/) | 18.0.1.2.2 | | EBICS banking protocol
[account_ebics_batch](account_ebics_batch/) | 18.0.1.0.1 | | EBICS Files automated import and processing
[account_ebics_batch_payment](account_ebics_batch_payment/) | 18.0.1.2.0 | | Upload Batch Payment via EBICS
[account_ebics_oca_statement_import](account_ebics_oca_statement_import/) | 18.0.1.0.1 | | Use OCA Bank Statement Import with account_ebics