From 645582f0a0788809fcbee82d42e67e815cb05867 Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 5 Mar 2024 09:05:59 +0100 Subject: [PATCH] T0662: Added some basic tests for the account_statement_import_sftp module. --- account_statement_import_sftp/README.rst | 37 +++++-- .../static/description/index.html | 57 +++++----- .../test_files/camt053 | 103 ++++++++++++++++++ .../tests/__init__.py | 1 + .../test_account_statement_import_process.py | 98 +++++++++++++++++ 5 files changed, 258 insertions(+), 38 deletions(-) create mode 100644 account_statement_import_sftp/test_files/camt053 create mode 100644 account_statement_import_sftp/tests/__init__.py create mode 100644 account_statement_import_sftp/tests/test_account_statement_import_process.py diff --git a/account_statement_import_sftp/README.rst b/account_statement_import_sftp/README.rst index 0a112864..1897e318 100644 --- a/account_statement_import_sftp/README.rst +++ b/account_statement_import_sftp/README.rst @@ -16,11 +16,17 @@ Bank Statement SFTP import .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-CompassionCH%2Fbank--statement--import-lightgray.png?logo=github - :target: https://github.com/CompassionCH/bank-statement-import/tree/14.0/account_statement_import_sftp - :alt: CompassionCH/bank-statement-import +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github + :target: https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_sftp + :alt: OCA/bank-statement-import +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_sftp + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=14.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| +|badge1| |badge2| |badge3| |badge4| |badge5| This module add the functionality to automatically import into bank statement the files retrieved from SFTP. @@ -43,10 +49,10 @@ Then when the scheduled action of EDI will run you will get your statement impor Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -61,20 +67,29 @@ Authors Contributors ~~~~~~~~~~~~ -* Compassion CH (https://www.compassion.ch) - * Simon Gonzalez +* Simon Gonzalez Maintainers ~~~~~~~~~~~ +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + .. |maintainer-OCA| image:: https://github.com/OCA.png?size=40px :target: https://github.com/OCA :alt: OCA -Current maintainer: +Current `maintainer `__: |maintainer-OCA| -This module is part of the `CompassionCH/bank-statement-import `_ project on GitHub. +This module is part of the `OCA/bank-statement-import `_ project on GitHub. -You are welcome to contribute. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_statement_import_sftp/static/description/index.html b/account_statement_import_sftp/static/description/index.html index 1402e324..e8d7f2a9 100644 --- a/account_statement_import_sftp/static/description/index.html +++ b/account_statement_import_sftp/static/description/index.html @@ -1,20 +1,19 @@ - - + Bank Statement SFTP import