diff --git a/account_bank_statement_import_online_transferwise/README.rst b/account_bank_statement_import_online_transferwise/README.rst
index 9db9a355..cb8dbe83 100644
--- a/account_bank_statement_import_online_transferwise/README.rst
+++ b/account_bank_statement_import_online_transferwise/README.rst
@@ -14,16 +14,16 @@ Online Bank Statements: TransferWise.com
: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/12.0/account_bank_statement_import_online_transferwise
+ :target: https://github.com/OCA/bank-statement-import/tree/11.0/account_bank_statement_import_online_transferwise
: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-12-0/bank-statement-import-12-0-account_bank_statement_import_online_transferwise
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/174/12.0
+ :target: https://runbot.odoo-community.org/runbot/174/11.0
:alt: Try me on Runbot
-|badge1| |badge2| |badge3| |badge4| |badge5|
+|badge1| |badge2| |badge3| |badge4| |badge5|
This module provides online bank statements from
`TransferWise.com `_.
@@ -73,7 +73,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 smashing it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -110,8 +110,8 @@ promote its widespread use.
Current `maintainer `__:
-|maintainer-alexey-pelykh|
+|maintainer-alexey-pelykh|
-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_bank_statement_import_online_transferwise/__manifest__.py b/account_bank_statement_import_online_transferwise/__manifest__.py
index 9817f1cc..ed4d3771 100644
--- a/account_bank_statement_import_online_transferwise/__manifest__.py
+++ b/account_bank_statement_import_online_transferwise/__manifest__.py
@@ -4,7 +4,7 @@
{
'name': 'Online Bank Statements: TransferWise.com',
- 'version': '12.0.1.0.0',
+ 'version': '11.0.1.0.0',
'author':
'Brainbean Apps, '
'Dataplug, '
diff --git a/account_bank_statement_import_online_transferwise/models/online_bank_statement_provider_transferwise.py b/account_bank_statement_import_online_transferwise/models/online_bank_statement_provider_transferwise.py
index f3e53a04..b2db2938 100644
--- a/account_bank_statement_import_online_transferwise/models/online_bank_statement_provider_transferwise.py
+++ b/account_bank_statement_import_online_transferwise/models/online_bank_statement_provider_transferwise.py
@@ -46,15 +46,16 @@ class OnlineBankStatementProviderTransferwise(models.Model):
@api.model
def _get_available_services(self):
- return super()._get_available_services() + [
- ('transferwise', 'TransferWise.com'),
- ]
+ return super(OnlineBankStatementProviderTransferwise, self) \
+ ._get_available_services() + [('transferwise', 'TransferWise.com')]
@api.multi
def _obtain_statement_data(self, date_since, date_until):
self.ensure_one()
if self.service != 'transferwise':
- return super()._obtain_statement_data(
+ return super(
+ OnlineBankStatementProviderTransferwise, self
+ )._obtain_statement_data(
date_since,
date_until,
) # pragma: no cover
diff --git a/account_bank_statement_import_online_transferwise/tests/test_account_bank_statement_import_online_transferwise.py b/account_bank_statement_import_online_transferwise/tests/test_account_bank_statement_import_online_transferwise.py
index 1e65cf58..77a6236e 100644
--- a/account_bank_statement_import_online_transferwise/tests/test_account_bank_statement_import_online_transferwise.py
+++ b/account_bank_statement_import_online_transferwise/tests/test_account_bank_statement_import_online_transferwise.py
@@ -24,9 +24,11 @@ class TestAccountBankAccountStatementImportOnlineTransferwise(
):
def setUp(self):
- super().setUp()
+ super(
+ TestAccountBankAccountStatementImportOnlineTransferwise, self
+ ).setUp()
- self.now = fields.Datetime.now()
+ self.now = fields.Datetime.from_string(fields.Datetime.now())
self.currency_eur = self.env.ref('base.EUR')
self.currency_usd = self.env.ref('base.USD')
self.AccountJournal = self.env['account.journal']