Commit Graph
173 Commits
Author SHA1 Message Date
Lancelot eac9a80131 update logo modules 2026-11-16 21:24:30 +01:00
root 87bb301f4b [UPD] Update account_ebics_oe.pot 2026-11-16 21:24:30 +01:00
Luc De Meyer 7975be2801 [MIG] account_ebics_oe: Migration to 17.0 2026-11-16 21:24:30 +01:00
Luc De Meyer 44ad3f028e [IMP] account_ebics_oe: pre-commit auto fixes 2026-11-16 21:24:30 +01:00
Jérémy Didderen 3c10571168 add CI config 2026-11-16 21:24:30 +01:00
Luc De Meyer 14db1c8c4f [16.0]fix typo in license URL 2026-11-16 21:24:30 +01:00
Jérémy Didderen f1c8898bf5 add cover image on all ebic modules 2026-11-16 21:24:30 +01:00
Luc De Meyer be083035e6 add support for 16.0 Odoo OE camt parser 2026-11-16 21:24:30 +01:00
Luc De Meyer f85d73e17a [MIG] : Migration to 16.0 2026-11-16 21:24:30 +01:00
Luc De Meyer b17d291792 [MIG] account_ebics_oe: Migration to 15.0 2026-11-16 21:24:30 +01:00
Luc De Meyer 3d8b8d05f1 [14.0]black, isort, prettier 2026-11-16 21:24:30 +01:00
Luc De Meyer bf194d9027 [14.0][MIG]account_ebics 2026-11-16 21:24:30 +01:00
Luc De Meyer 1ea512452e remove dup key from manifest 2026-11-16 21:24:30 +01:00
Luc De Meyer a0ea1e8de0 [13.0][MIG]account_ebics_oe 2026-11-16 21:24:30 +01:00
Luc De Meyer 7ef6e28dc2 lpgl 2026-11-16 21:24:30 +01:00
Luc De Meyer f7e059999e fix license 2026-11-16 21:24:30 +01:00
Luc De Meyer 3dadda405e [12.0][MIG] account_ebics 2026-11-16 21:24:30 +01:00
oca-ci 779daf465a [UPD] Update account_ebics.pot 2026-11-16 20:14:07 +00:00
noviat-ci-bot e139f8f60c update addons table 2026-11-16 20:11:06 +00:00
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
oca-ci 76b67ec6cd [UPD] Update account_ebics.pot 2026-11-16 21:10:37 +01:00
Jérémy Didderen e4b3bb6832 [FIX] account_ebics - Number duplicate upload file names before the extension
A duplicate upload name got the counter appended to the previous
candidate and after the extension: pay.xml_1, then pay.xml_1_2,
pay.xml_1_2_3. Keep the extension and number from the original name:
pay_1.xml, pay_2.xml.
2026-11-16 21:10:37 +01:00
Jérémy Didderen bdff89f479 [IMP] account_ebics - Add unit tests
Forward-port of the 18.0 tests. Add 108 tests (101 in the Community job):

- account_ebics: order numbers, camt and CFONB split per account,
  journal lookup, duplicate statements, download and upload wizards,
  client setup with real keys, key initialisation (INI/HIA/HPB),
  passphrase change, admin orders.
- account_ebics_batch: scheduled import, import log, reprocess.
- account_ebics_payment_order / account_ebics_batch_payment: upload of
  the payment file and link to the payment document.
- account_ebics_statement_import_test (new, test-only, not to install
  in production): installs the OCA camt and CFONB parsers in CI and
  runs the end-to-end statement import.
- account_ebics_oe_statement_import_test (new, test-only, Enterprise
  job only): same through the Odoo Enterprise camt import.

The bank is simulated by patching the EBICS transport; keys,
certificates and the INI letter are real, created in a temporary
directory. 19.0 differences: no account_ebics_oca_statement_import
module (its glue-specific tests are dropped), res.users.group_ids.
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 86e2e13878 [FIX] account_ebics - Report errors of EBICS administrative orders
The note was not initialised, so a failed client setup raised a
TypeError on note += ...; and functional errors were not caught, showing
a raw traceback. Initialise the note and report EbicsFunctionalError
like EbicsTechnicalError.
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 c43166e272 [REM] account_ebics - Remove unused ebics.xfer._update_order_number
Every caller uses ebics.config._update_order_number. The wizard copy was
dead and wrong: it did not reset Z to 0 when carrying (A0ZZ -> A1ZZ).
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
oca-ci 591310afd8 [UPD] Update account_ebics.pot 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
Jérémy Didderen 43046f7eb3 [I18N] Translate fr, nl and de 2026-11-16 21:10:37 +01:00
0d0e749c26 Translated using Weblate (German)
Currently translated at 61.1% (11 of 18 strings)

Translated using Weblate (German)

Currently translated at 70.5% (12 of 17 strings)

Translated using Weblate (German)

Currently translated at 70.5% (12 of 17 strings)

Translated using Weblate (German)

Currently translated at 94.4% (34 of 36 strings)

Translated using Weblate (German)

Currently translated at 96.9% (283 of 292 strings)

Translated using Weblate (German)

Currently translated at 96.9% (283 of 292 strings)

Translated using Weblate (Dutch)

Currently translated at 82.3% (14 of 17 strings)

Translated using Weblate (Dutch)

Currently translated at 82.3% (14 of 17 strings)

Translated using Weblate (French)

Currently translated at 82.3% (14 of 17 strings)

Translated using Weblate (French)

Currently translated at 82.3% (14 of 17 strings)

Translated using Weblate (Dutch)

Currently translated at 66.6% (12 of 18 strings)

Translated using Weblate (French)

Currently translated at 66.6% (12 of 18 strings)

Co-authored-by: Jérémy Didderen <jeremy.didderen@noviat.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/fr/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/nl/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/fr/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/nl/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
Translation: Noviat Generic - Account EBICS - v19/account_ebics_batch
Translation: Noviat Generic - Account EBICS - v19/account_ebics_batch_payment
Translation: Noviat Generic - Account EBICS - v19/account_ebics_payment_order
2026-11-16 21:10:37 +01:00
WeblateandWeblate Translation Memory 0399100308 Translated using Weblate (German)
Currently translated at 33.3% (6 of 18 strings)

Translated using Weblate (German)

Currently translated at 17.6% (3 of 17 strings)

Translated using Weblate (German)

Currently translated at 41.6% (15 of 36 strings)

Translated using Weblate (German)

Currently translated at 17.8% (52 of 292 strings)

Translated using Weblate (French)

Currently translated at 58.8% (10 of 17 strings)

Translated using Weblate (French)

Currently translated at 97.9% (286 of 292 strings)

Translated using Weblate (French)

Currently translated at 61.1% (11 of 18 strings)

Translated using Weblate (Dutch)

Currently translated at 58.8% (10 of 17 strings)

Translated using Weblate (Dutch)

Currently translated at 97.9% (286 of 292 strings)

Translated using Weblate (Dutch)

Currently translated at 61.1% (11 of 18 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/fr/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/nl/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/fr/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_batch_payment/nl/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/de/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/fr/
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics_payment_order/nl/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
Translation: Noviat Generic - Account EBICS - v19/account_ebics_batch
Translation: Noviat Generic - Account EBICS - v19/account_ebics_batch_payment
Translation: Noviat Generic - Account EBICS - v19/account_ebics_payment_order
2026-11-16 21:10:37 +01:00
Jérémy Didderen 80f9817388 [I18N] Add de translation files 2026-11-16 21:10:37 +01:00
Weblate 5dc0d133cd Update translation files
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
2026-11-16 21:10:37 +01:00
Weblate 5737ad7986 Update translation files
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
2026-11-16 21:10:37 +01:00
oca-ci b00da902d6 [UPD] Update account_ebics.pot 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
Jérémy Didderen 54da043e44 [FIX] account_ebics - README facts checked against the code 2026-11-16 21:10:37 +01:00
Jérémy Didderen 2435798242 [IMP] account_ebics - rework readme 2026-11-16 21:10:37 +01:00
Weblate 312f525428 Update translation files
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
2026-11-16 21:10:37 +01:00
Weblate ff6c167cf2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v19/account_ebics/
Translation: Noviat Generic - Account EBICS - v19/account_ebics
2026-11-16 21:10:37 +01:00
oca-ci fc98694067 [UPD] Update account_ebics.pot 2026-11-16 21:10:37 +01:00