From bee532ffb2f1192d4de52f28bcee6f2ebd4c05c1 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 3 Dec 2020 20:45:22 +0100 Subject: [PATCH 1/2] [12.0]update for subscription based fintech licensing --- account_ebics/README.rst | 2 ++ account_ebics/__manifest__.py | 2 +- account_ebics/models/fintech_ebics_register.py | 13 ++++++++----- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/account_ebics/README.rst b/account_ebics/README.rst index fbc746a..625aea7 100644 --- a/account_ebics/README.rst +++ b/account_ebics/README.rst @@ -40,6 +40,8 @@ The keycode of the licensed version. - fintech_register_users The licensed EBICS user ids. It must be a string or a list of user ids. +You should NOT specify this parameter if your license is subsciption +based (with monthly recurring billing). Configuration ============= diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index 23c5b2b..177a0f9 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'EBICS banking protocol', - 'version': '12.0.1.0.3', + 'version': '12.0.1.0.4', 'license': 'LGPL-3', 'author': 'Noviat', 'category': 'Accounting & Finance', diff --git a/account_ebics/models/fintech_ebics_register.py b/account_ebics/models/fintech_ebics_register.py index 5719169..19d53f4 100644 --- a/account_ebics/models/fintech_ebics_register.py +++ b/account_ebics/models/fintech_ebics_register.py @@ -21,13 +21,16 @@ fintech_register_users = config.get('fintech_register_users') try: if fintech: - fintech_register_users = fintech_register_users \ - and fintech_register_users.split(',') + fintech_register_users = ( + fintech_register_users + and [x.strip() for x in fintech_register_users.split(',')] + or None + ) fintech.cryptolib = 'cryptography' fintech.register( - fintech_register_name, - fintech_register_keycode, - fintech_register_users) + name=fintech_register_name, + keycode=fintech_register_keycode, + users=fintech_register_users) except RuntimeError as e: if e.message == "'register' can be called only once": pass From 696c375d0d265a6041c37a86fc967ab0e29593e1 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 3 Dec 2020 20:47:01 +0100 Subject: [PATCH 2/2] [12.0]add static/description/index.html --- account_ebics/static/description/index.html | 400 ++++++++++++++++++++ 1 file changed, 400 insertions(+) create mode 100644 account_ebics/static/description/index.html diff --git a/account_ebics/static/description/index.html b/account_ebics/static/description/index.html new file mode 100644 index 0000000..851af91 --- /dev/null +++ b/account_ebics/static/description/index.html @@ -0,0 +1,400 @@ + + + + + + + + + + +
+ + +License: LGPL-3 +
+

EBICS banking protocol

+

Implementation of the EBICS banking protocol.

+

This module facilitates the exchange of files with banks via the EBICS protocol.

+
+

Installation

+

The module depends upon

+ +

Remark:

+

The EBICS 'Test Mode' for uploading orders requires Fintech 4.3.4 or higher.

+
+

Fintech license

+

If you have a valid Fintech.ebics license, you should add the following +licensing parameters to the odoo server configuration file:

+
    +
  • fintech_register_name
  • +
+

The name of the licensee.

+
    +
  • fintech_register_keycode
  • +
+

The keycode of the licensed version.

+
    +
  • fintech_register_users
  • +
+

The licensed EBICS user ids. It must be a string or a list of user ids. +You should NOT specify this parameter if your license is subsciption +based (with monthly recurring billing).

+
+
+
+

Configuration

+

Go to Settings > Users

+

Add the users that are authorised to maintain the EBICS configuration to the 'EBICS Manager' Group.

+

Go to Accounting > Configuration > Miscellaneous > EBICS > EBICS Configuration

+

Configure your EBICS configuration according to the contract with your bank.

+
+
+

Usage

+

Go to Accounting > Bank and Cash > EBICS Processing

+
+

EBICS Return Codes

+

During the processing of your EBICS upload/download, your bank may return an Error Code, e.g.

+

EBICS Functional Error: +EBICS_NO_DOWNLOAD_DATA_AVAILABLE (code: 90005)

+

A detailled explanation of the codes can be found on http://www.ebics.org. +You can also find this information in the doc folder of this module (file EBICS_Annex1_ReturnCodes).

+
+
+
+
+ +