mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-11-06 10:00:39 +00:00
Add 97 tests: - account_ebics: order numbers, camt and CFONB split per account, journal lookup, duplicate statements, download and upload wizards, 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. The bank is simulated by patching ebics.xfer._setup_client, or the fintech client classes for the key initialisation; keys, certificates and the INI letter are real, created in a temporary directory.
============================= EBICS - Scheduled File Import ============================= **Your statements arrive without anyone asking for them.** This module adds a scheduled action that downloads and processes the EBICS files of every confirmed connection. This is what turns EBICS from a manual download into something your morning no longer depends on. .. image:: https://raw.githubusercontent.com/Noviat/account_ebics/18.0/account_ebics_batch/static/description/ebics_download.png :alt: A downloaded camt.053 statement file in Odoo, ready to be processed :width: 100% Each run creates a **Batch Import Log**. When a file cannot be processed, the log is set to *error* and records why; when every file is processed, it is set to *done*. From the log, **Reprocess** retries the files still in draft until the errors are cleared. A log can also be set to *done* by hand, for instance after a file was processed on its own or the movements were entered manually. Configuration ============= The scheduled action **EBICS Batch Import** is created **inactive** at installation, with a daily interval. Activate it in *Settings > Technical > Automation > Scheduled Actions* (developer mode), and adapt its interval if needed. It calls the following method, on all confirmed connections:: model._batch_import() To limit it to some connections, pass their ids:: model._batch_import(ebics_config_ids=[1, 3]) Part of the EBICS suite ======================= This module extends **EBICS Banking Protocol** (``account_ebics``), the EBICS implementation for Odoo developed and maintained by Noviat. Install it first: https://github.com/Noviat/account_ebics What EBICS is and what it changes, in plain language, with screen recordings of the flow: https://www.noviat.com/ebics Credits ======= Developed and maintained by `Noviat <https://www.noviat.com>`_, Odoo integrator in Belgium, specialised in accounting and finance since 2009. We configure the connection with your banks and support you through the first cycles.