Commit Graph
36 Commits
Author SHA1 Message Date
Jérémy Didderen 1efb9adf80 [MIG] account_ebics: Migration to 20.0 2026-11-16 21:10:37 +01:00
Jérémy Didderen e044b83e6c [IMP] account_ebics: pre-commit execution 2026-11-16 21:10:37 +01:00
Jérémy Didderen 8b60fdb1c4 [FIX] account_ebics - Report passphrase mismatch when checking keys
The keyring was built outside the try block, and fintech raises the
passphrase error from the EbicsKeyRing constructor: a wrong passphrase
showed a raw ValueError traceback instead of "Passphrase mismatch.".
When another keyring instance on the same file is still open in the
worker, fintech raises RuntimeError instead, which is now caught too.
2026-11-16 21:10:37 +01:00
Jérémy Didderen a89cbc7125 [FIX] account_ebics - Explain missing journal in EBICS key initialisation
ebics_init_1 read journal_ids[0] before checking it, so a configuration
without journal raised an IndexError instead of the "No bank defined"
message.
2026-11-16 21:10:37 +01:00
Jérémy Didderen 9b6f49da91 [FIX] account_ebics - Allow removing pain.002 EBICS files
The pain.002 unlink hook raised NotImplementedError, so no EBICS file
with that processing method could be deleted. Make it a no-op
placeholder like the other formats.
2026-11-16 21:10:37 +01:00
Jérémy Didderen a08e06c410 [FIX] account_ebics - Wrap order number ZZZZ to A000
ZZZZ is accepted by the order number constraint, but the next number was
computed as 0000, which the constraint then rejects, blocking H003
uploads. Wrap it to A000 like ZZZY already does.
2026-11-16 21:10:37 +01:00
Jérémy Didderen 1df4a1eb3b [FIX] account_ebics - Do not commit during tests in the Enterprise import
_process_bank_statement_oe commits after each statement. Under tests this
leaves the test transaction (19.0 test cursors even raise on commit).
Skip the commit while a test runs, using odoo.modules.module.current_test:
Registry.in_test_mode() and the thread "testing" flag no longer exist in
19.0.
2026-11-16 21:10:37 +01:00
Jérémy Didderen 3de717d550 [FIX] account_ebics - Report camt statements without account number
The xpath result was indexed before the emptiness check, so a statement
without IBAN or other account id raised an IndexError instead of the
"No bank account number found." notification.
2026-11-16 21:10:37 +01:00
Jérémy Didderen f448062dc1 [FIX] account_ebics - Stop camt split on an invalid XML file
The error was noted but processing went on with root.nsmap, raising an
AttributeError. Unparseable content now also yields the "Invalid XML
file." notification instead of an XMLSyntaxError.
2026-11-16 21:10:37 +01:00
Jérémy Didderen 167d1195a7 [IMP] addons-repo-template v9.2.1 2026-11-16 21:10:37 +01:00
Luc De Meyer 3a992fb7f6 [19.0][IMP] copier update 2026-11-16 21:10:37 +01:00
Luc De Meyer fdb372d93b [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
2026-11-16 21:10:37 +01:00
Luc De Meyer 9d6bcfbf5d [IMP] Add upload state tracking on EBICS payment files
account_ebics:
- Add pain_state and ebics_order_number to ebics.file
- Set these fields after a successful upload
- Add neutralized property to api.Environment

account_ebics_batch_payment:
- Add EBICS notebook page with upload info to batch payment form
- Post chatter message with OrderID after upload

account_ebics_payment_order:
- Fix broken postprocess: replace deprecated active_model/active_id
  context keys with model/id
2026-11-16 21:10:37 +01:00
Jan Suhr 3a29e9a1ea [19.0] account_ebics: fix same label warning for ebics_config_id/ids 2026-11-16 21:10:37 +01:00
Luc De Meyer 39f90b8108 [IMP] add 'Mark files as Downloaded' menu entry to the EBICS configuration section 2026-11-16 21:10:37 +01:00
Luc De Meyer 41011c5381 [IMP] batch payment: hide ebics_upload button on non-ebics journals 2026-11-16 21:10:37 +01:00
Luc De Meyer 14ea8ab5f3 [MIG] account_ebics: Migration to 19.0 2026-11-16 21:10:37 +01:00
Luc De Meyer d5f089f7db [IMP] account_ebics: pre-commit auto fixes 2026-11-16 21:10:37 +01:00
Luc De Meyer 5ac3e65f48 [FIX] stack trace when OE camt parser discards a transaction line
The Odoo Enterprise CAMT parser may drop transactions during import
e.g. in case of duplicates or when a 0.00 amount transaction is added
to give some banking information via the CAMT file.
This PR fixes a stack trace that occurs when that happens.
2026-11-16 21:10:37 +01:00
Luc De Meyer bff4062caf [IMP]ebics.userid,user_ids: exclude portal users 2026-11-16 21:10:37 +01:00
Luc De Meyer b995c666b8 [FIX] limit INI letter languages to 'en', 'de', 'fr' 2026-11-16 21:10:37 +01:00
Jérémy Didderen ba3a1e5ea5 [FIX] pre-commit errors after copier update 2026-11-16 21:10:37 +01:00
Luc De Meyer 3b897ddf0d [IMP]account_ebics : improve file format views 2026-11-16 21:10:37 +01:00
Olivier Doucet ed41f04047 fix cfonb return line bug 2026-11-16 21:10:37 +01:00
Luc De Meyer 3b0d2f19af [IMP] account_ebics : remove obsolete 'view_type' in actions 2026-11-16 21:10:37 +01:00
Luc De Meyer 3ac32a8cb2 [IMP] account_ebics: hide process button on ebics_file when no download process 2026-11-16 21:10:37 +01:00
Luc De Meyer 2a698ffb86 [MIG] account_ebics_batch_payment: Migration to 18.0 2026-11-16 21:10:37 +01:00
Luc De Meyer a226f4cbe3 [MIG] account_ebics: Migration to 18.0 2026-11-16 21:10:37 +01:00
Remi - Le Filament 71a5f46ea6 [FIX] handle string notifications as warnings 2026-11-16 21:10:37 +01:00
Luc De Meyer 955cf795c8 [FIX]account_ebics - fix split cfonb120 files 2026-11-16 21:10:37 +01:00
Luc De Meyer 15545ae82a [FIX]account_ebics - fix passphrase visibility for new userid 2026-11-16 21:10:37 +01:00
Jérémy Didderen 341ffd9561 update CI config 2026-11-16 21:10:37 +01:00
Luc De Meyer 2d7c2b73ba [FIX]bugfix _compute_ebics_passphrase_view_modifiers 2026-11-16 21:10:37 +01:00
Luc De Meyer e9b379b69e [MIG] account_ebics: Migration to 17.0 2026-11-16 21:10:37 +01:00
Luc De Meyer d88c2b1735 [IMP] account_ebics: pre-commit auto fixes 2026-11-16 21:10:37 +01:00
Luc De Meyer 97085c4f95 squash everything before 17.0 2026-11-16 21:10:37 +01:00