From b10d5e83a2f21529d29aefd567bcb8455f81940a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <30716308+remi-filament@users.noreply.github.com> Date: Wed, 22 May 2024 08:34:23 +0200 Subject: [PATCH] [IMP] account_statement_import_ofx: apply pre-commit auto fixes --- account_statement_import_ofx/README.rst | 42 ++++++++++--------- account_statement_import_ofx/pyproject.toml | 3 ++ .../readme/CONTRIBUTORS.md | 7 ++++ .../readme/CONTRIBUTORS.rst | 7 ---- .../readme/DESCRIPTION.md | 9 ++++ .../readme/DESCRIPTION.rst | 6 --- .../readme/INSTALL.md | 2 + .../readme/INSTALL.rst | 1 - .../static/description/index.html | 30 +++++++------ requirements.txt | 1 + 10 files changed, 63 insertions(+), 45 deletions(-) create mode 100644 account_statement_import_ofx/pyproject.toml create mode 100644 account_statement_import_ofx/readme/CONTRIBUTORS.md delete mode 100644 account_statement_import_ofx/readme/CONTRIBUTORS.rst create mode 100644 account_statement_import_ofx/readme/DESCRIPTION.md delete mode 100644 account_statement_import_ofx/readme/DESCRIPTION.rst create mode 100644 account_statement_import_ofx/readme/INSTALL.md delete mode 100644 account_statement_import_ofx/readme/INSTALL.rst diff --git a/account_statement_import_ofx/README.rst b/account_statement_import_ofx/README.rst index a33cfa998..2d7875d09 100644 --- a/account_statement_import_ofx/README.rst +++ b/account_statement_import_ofx/README.rst @@ -17,23 +17,26 @@ Import OFX Bank Statement :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |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/16.0/account_statement_import_ofx + :target: https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_ofx :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-16-0/bank-statement-import-16-0-account_statement_import_ofx + :target: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_ofx :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=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds support for the import of bank statements in `OFX format `_. +This module adds support for the import of bank statements in `OFX +format `__. -Bank Statements may be generated containing a subset of the OFX information (only those transaction lines that are required for the +Bank Statements may be generated containing a subset of the OFX +information (only those transaction lines that are required for the creation of the Financial Accounting records). -Since v14, this module support multi-account OFX files i.e. several different bank accounts in the same OFX file. +Since v14, this module support multi-account OFX files i.e. several +different bank accounts in the same OFX file. **Table of contents** @@ -43,7 +46,8 @@ Since v14, this module support multi-account OFX files i.e. several different ba Installation ============ -This module requires the `ofxparse `_ python lib. +This module requires the +`ofxparse `__ python lib. Bug Tracker =========== @@ -51,7 +55,7 @@ Bug Tracker 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. @@ -59,7 +63,7 @@ Credits ======= Authors -~~~~~~~ +------- * Odoo SA * Akretion @@ -69,18 +73,18 @@ Authors * Le Filament Contributors -~~~~~~~~~~~~ +------------ -* Odoo SA -* Alexis de Lattre -* Laurent Mignon -* Ronald Portier -* Sylvain LE GAL -* Nicolas JEUDY -* Le Filament +- Odoo SA +- Alexis de Lattre +- Laurent Mignon +- Ronald Portier +- Sylvain LE GAL +- Nicolas JEUDY +- Le Filament Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -100,6 +104,6 @@ Current `maintainer `__: |maintainer-alexis-via| -This module is part of the `OCA/bank-statement-import `_ project on GitHub. +This module is part of the `OCA/bank-statement-import `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_statement_import_ofx/pyproject.toml b/account_statement_import_ofx/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/account_statement_import_ofx/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_statement_import_ofx/readme/CONTRIBUTORS.md b/account_statement_import_ofx/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..d98643b6d --- /dev/null +++ b/account_statement_import_ofx/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- Odoo SA +- Alexis de Lattre \<\> +- Laurent Mignon \<\> +- Ronald Portier \<\> +- Sylvain LE GAL \<\> +- Nicolas JEUDY \<\> +- Le Filament \<\> diff --git a/account_statement_import_ofx/readme/CONTRIBUTORS.rst b/account_statement_import_ofx/readme/CONTRIBUTORS.rst deleted file mode 100644 index 06df39530..000000000 --- a/account_statement_import_ofx/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,7 +0,0 @@ -* Odoo SA -* Alexis de Lattre -* Laurent Mignon -* Ronald Portier -* Sylvain LE GAL -* Nicolas JEUDY -* Le Filament diff --git a/account_statement_import_ofx/readme/DESCRIPTION.md b/account_statement_import_ofx/readme/DESCRIPTION.md new file mode 100644 index 000000000..8f8596a52 --- /dev/null +++ b/account_statement_import_ofx/readme/DESCRIPTION.md @@ -0,0 +1,9 @@ +This module adds support for the import of bank statements in [OFX +format](https://en.wikipedia.org/wiki/Open_Financial_Exchange). + +Bank Statements may be generated containing a subset of the OFX +information (only those transaction lines that are required for the +creation of the Financial Accounting records). + +Since v14, this module support multi-account OFX files i.e. several +different bank accounts in the same OFX file. diff --git a/account_statement_import_ofx/readme/DESCRIPTION.rst b/account_statement_import_ofx/readme/DESCRIPTION.rst deleted file mode 100644 index 8b68e4c8a..000000000 --- a/account_statement_import_ofx/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module adds support for the import of bank statements in `OFX format `_. - -Bank Statements may be generated containing a subset of the OFX information (only those transaction lines that are required for the -creation of the Financial Accounting records). - -Since v14, this module support multi-account OFX files i.e. several different bank accounts in the same OFX file. diff --git a/account_statement_import_ofx/readme/INSTALL.md b/account_statement_import_ofx/readme/INSTALL.md new file mode 100644 index 000000000..87ffba435 --- /dev/null +++ b/account_statement_import_ofx/readme/INSTALL.md @@ -0,0 +1,2 @@ +This module requires the [ofxparse](https://pypi.org/project/ofxparse/) +python lib. diff --git a/account_statement_import_ofx/readme/INSTALL.rst b/account_statement_import_ofx/readme/INSTALL.rst deleted file mode 100644 index 39c872345..000000000 --- a/account_statement_import_ofx/readme/INSTALL.rst +++ /dev/null @@ -1 +0,0 @@ -This module requires the `ofxparse `_ python lib. diff --git a/account_statement_import_ofx/static/description/index.html b/account_statement_import_ofx/static/description/index.html index dcacafd35..1734c3063 100644 --- a/account_statement_import_ofx/static/description/index.html +++ b/account_statement_import_ofx/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,11 +369,14 @@

Import OFX Bank Statement

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:1716bd49010fb3f50b7f5ffc4ade620361a09a4b341089d3dc456197bf779819 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Mature License: AGPL-3 OCA/bank-statement-import Translate me on Weblate Try me on Runboat

-

This module adds support for the import of bank statements in OFX format.

-

Bank Statements may be generated containing a subset of the OFX information (only those transaction lines that are required for the +

Mature License: AGPL-3 OCA/bank-statement-import Translate me on Weblate Try me on Runboat

+

This module adds support for the import of bank statements in OFX +format.

+

Bank Statements may be generated containing a subset of the OFX +information (only those transaction lines that are required for the creation of the Financial Accounting records).

-

Since v14, this module support multi-account OFX files i.e. several different bank accounts in the same OFX file.

+

Since v14, this module support multi-account OFX files i.e. several +different bank accounts in the same OFX file.

Table of contents

    @@ -389,14 +392,15 @@

    Import OFX Bank Statement

Installation

-

This module requires the ofxparse python lib.

+

This module requires the +ofxparse python lib.

Bug Tracker

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.

@@ -427,13 +431,15 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.

Current maintainer:

alexis-via

-

This module is part of the OCA/bank-statement-import project on GitHub.

+

This module is part of the OCA/bank-statement-import project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/requirements.txt b/requirements.txt index 5a2df8071..d3433a96a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ # generated from manifests external_dependencies chardet +ofxparse xlrd