From c03e1f7778946b48d4abeabb56592f53f7e5c16f Mon Sep 17 00:00:00 2001
From: Luc De Meyer
Date: Tue, 14 Jul 2020 21:07:53 +0200
Subject: [PATCH] update readme
---
account_ebics/README.rst | 23 +++++++++++++++++++
.../models/fintech_ebics_register.py | 2 +-
account_ebics/static/description/index.html | 14 +++++++++++
3 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/account_ebics/README.rst b/account_ebics/README.rst
index cbb0493..5deacc7 100644
--- a/account_ebics/README.rst
+++ b/account_ebics/README.rst
@@ -10,6 +10,8 @@ Implementation of the EBICS banking protocol.
This module facilitates the exchange of files with banks via the EBICS protocol.
+|
+
Installation
============
@@ -22,6 +24,8 @@ Remark:
The EBICS 'Test Mode' for uploading orders requires Fintech 4.3.4 or higher.
+|
+
Fintech license
---------------
@@ -41,6 +45,19 @@ The keycode of the licensed version.
The licensed EBICS user ids. It must be a string or a list of user ids.
+|
+| Example:
+|
+
+::
+
+ ; fintech
+ fintech_register_name = MyCompany
+ fintech_register_keycode = AB1CD-E2FG-3H-IJ4K-5L
+ fintech_register_users = USER1, USER2
+
+|
+
Configuration
=============
@@ -52,11 +69,15 @@ 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
------------------
@@ -68,6 +89,8 @@ 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).
+|
+
Known Issues / Roadmap
======================
diff --git a/account_ebics/models/fintech_ebics_register.py b/account_ebics/models/fintech_ebics_register.py
index 3b58711..d42a207 100644
--- a/account_ebics/models/fintech_ebics_register.py
+++ b/account_ebics/models/fintech_ebics_register.py
@@ -22,7 +22,7 @@ fintech_register_users = config.get('fintech_register_users')
try:
if fintech:
fintech_register_users = fintech_register_users \
- and fintech_register_users.split(',')
+ and [x.strip() for x in fintech_register_users.split(',')]
fintech.cryptolib = 'cryptography'
fintech.register(
fintech_register_name,
diff --git a/account_ebics/static/description/index.html b/account_ebics/static/description/index.html
index 21a9f6e..13d7644 100644
--- a/account_ebics/static/description/index.html
+++ b/account_ebics/static/description/index.html
@@ -379,6 +379,17 @@ licensing parameters to the odoo server configuration file:
The licensed EBICS user ids. It must be a string or a list of user ids.
+
+; fintech
+fintech_register_name = MyCompany
+fintech_register_keycode = AB1CD-E2FG-3H-IJ4K-5L
+fintech_register_users = USER1, USER2
+
+
@@ -395,6 +406,9 @@ licensing parameters to the odoo server configuration file:
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.