mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 12:12:03 +00:00
update for subscription based fintech licensing
This commit is contained in:
parent
69859db038
commit
cbb1f8a248
@ -87,6 +87,8 @@ The keycode of the licensed version.
|
|||||||
- fintech_register_users
|
- fintech_register_users
|
||||||
|
|
||||||
The licensed EBICS user ids. It must be a string or a list of user ids.
|
The licensed EBICS user ids. It must be a string or a list of user ids.
|
||||||
|
You should NOT specify this parameter is your license is subsciption
|
||||||
|
based (with monthly recurring billing).
|
||||||
|
|
||||||
|
|
|
|
||||||
| Example:
|
| Example:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'EBICS banking protocol',
|
'name': 'EBICS banking protocol',
|
||||||
'version': '13.0.1.2.0',
|
'version': '13.0.1.2.1',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'author': 'Noviat',
|
'author': 'Noviat',
|
||||||
'website': 'www.noviat.com',
|
'website': 'www.noviat.com',
|
||||||
|
@ -21,13 +21,16 @@ fintech_register_users = config.get('fintech_register_users')
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if fintech:
|
if fintech:
|
||||||
fintech_register_users = fintech_register_users \
|
fintech_register_users = (
|
||||||
|
fintech_register_users
|
||||||
and [x.strip() for x in fintech_register_users.split(',')]
|
and [x.strip() for x in fintech_register_users.split(',')]
|
||||||
|
or None
|
||||||
|
)
|
||||||
fintech.cryptolib = 'cryptography'
|
fintech.cryptolib = 'cryptography'
|
||||||
fintech.register(
|
fintech.register(
|
||||||
fintech_register_name,
|
name=fintech_register_name,
|
||||||
fintech_register_keycode,
|
keycode=fintech_register_keycode,
|
||||||
fintech_register_users)
|
users=fintech_register_users)
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
if e.message == "'register' can be called only once":
|
if e.message == "'register' can be called only once":
|
||||||
pass
|
pass
|
||||||
|
@ -423,7 +423,9 @@ licensing parameters to the odoo server configuration file:</p>
|
|||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>fintech_register_users</li>
|
<li>fintech_register_users</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The licensed EBICS user ids. It must be a string or a list of user ids.</p>
|
<p>The licensed EBICS user ids. It must be a string or a list of user ids.
|
||||||
|
You should NOT specify this parameter is your license is subsciption
|
||||||
|
based (with monthly recurring billing).</p>
|
||||||
<div class="line-block">
|
<div class="line-block">
|
||||||
<div class="line"><br /></div>
|
<div class="line"><br /></div>
|
||||||
<div class="line">Example:</div>
|
<div class="line">Example:</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user