Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] account_statement_import_online_ponto: Migration to 16.0 #554

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
975a5bd
[IMP] Adapt account_bank_statement_import_online to 14.0
NL66278 May 28, 2021
318715c
[FIX] account_statement_import_online: further improvements.
NL66278 Jul 14, 2021
2b5d8d3
[UPD] Update account_statement_import_online_ponto.pot
oca-travis Jul 27, 2021
c4b55b0
[FIX] account_statement_import_online_ponto: fix vals dict to create …
Aug 19, 2021
9289302
account_statement_import_online_ponto 14.0.1.0.1
OCA-git-bot Aug 19, 2021
ad9f386
[FIX] account_statement_import_online_ponto: verify TLS
Sep 29, 2021
08d0a1d
account_statement_import_online_ponto 14.0.1.0.2
OCA-git-bot Sep 29, 2021
2e1cc98
Added translation using Weblate (Italian)
primes2h Nov 25, 2021
30f801f
Translated using Weblate (Italian)
primes2h Nov 25, 2021
992e383
[IMP] *_online_ponto: code organisation
NL66278 Dec 13, 2021
7c4c123
[IMP] account_statement_import_online[_ponto] improvements.
NL66278 Dec 13, 2021
27aaf4b
[FIX] *_online Improvements after review
NL66278 Dec 13, 2021
a03d4de
Added translation using Weblate (Catalan)
Jan 26, 2022
8d782bd
Translated using Weblate (Catalan)
Jan 26, 2022
06a1249
account_statement_import_online_ponto 14.0.1.1.0
OCA-git-bot Feb 18, 2022
159100e
Add module account_statement_import_base
alexis-via Aug 7, 2022
43afc52
[IMP] *_online_ponto: forward port 12.0 improvements
NL66278 Oct 2, 2022
1c69aa6
ponto: date field to use is now configurable
alexis-via Jan 19, 2023
108df5b
[IMP] *_online_ponto: add timeout to request get and post
NL66278 Jan 20, 2023
a1495fe
[IMP] *_online_ponto: improved data retrieval logic
NL66278 Jan 19, 2023
f222dbc
[MIG]account_statement_import_online_ponto: Migration to 15.0
manuelregidor Apr 13, 2022
8288a6c
[UPD] Update account_statement_import_online_ponto.pot
May 5, 2022
f9a1f8e
[MIG] account_statement_import_online_ponto: Migration to 16.0
NL66278 Jan 27, 2023
ed9bc2a
[FIX] Group statement lines by period before update/create
astirpe Sep 22, 2023
bda6315
[16.0][IMP] account_statement_import_online_ponto: retrieve partner
astirpe Sep 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions account_statement_import_online/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ class AccountJournal(models.Model):
@api.model
def _selection_service(self):
OnlineBankStatementProvider = self.env["online.bank.statement.provider"]
return OnlineBankStatementProvider._get_available_services() + [
("dummy", "Dummy")
]
return OnlineBankStatementProvider._selection_service()

# Keep provider fields for compatibility with other modules.
online_bank_statement_provider = fields.Selection(
Expand Down
126 changes: 126 additions & 0 deletions account_statement_import_online_ponto/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
===================================
Online Bank Statements: MyPonto.com
===================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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/14.0/account_statement_import_online_ponto
: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-14-0/bank-statement-import-14-0-account_statement_import_online_ponto
: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/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides online bank statements from MyPonto.com.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure online bank statements provider:

#. Go to *Invoicing > Configuration > Bank Accounts*
#. Open bank account to configure and edit it
#. Set *Bank Feeds* to *Online*
#. Select *MyPonto.com* as online bank statements provider in
*Online Bank Statements (OCA)* section
#. Save the bank account
#. Click on provider and configure provider-specific settings.

or, alternatively:

#. Go to *Invoicing > Overview*
#. Open settings of the corresponding journal account
#. Switch to *Bank Account* tab
#. Set *Bank Feeds* to *Online*
#. Select *MyPonto.com* as online bank statements provider in
*Online Bank Statements (OCA)* section
#. Save the bank account
#. Click on provider and configure provider-specific settings.

To obtain *Login* and *Key*:

#. Open `MyPonto.com <https://myponto.com/>`_.

Check also ``account_bank_statement_import_online`` configuration instructions
for more information.

Usage
=====

To pull historical bank statements:

#. Go to *Invoicing > Configuration > Bank Accounts*
#. Select specific bank accounts
#. Launch *Actions > Online Bank Statements Pull Wizard*
#. Configure date interval and click *Pull*

If historical data is not needed, then just simply wait for the scheduled
activity "Pull Online Bank Statements" to be executed for getting new
transactions.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/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 <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_online_ponto%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Florent de Labarre

Contributors
~~~~~~~~~~~~

* Florent de Labarre
* `Tecnativa <https://www.tecnativa.com>`__:

* Pedro M. Baeza
* João Marques

* `Therp BV <https://therp.nl/>`__

* Ronald Portier <ronald@therp.nl>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/14.0/account_statement_import_online_ponto>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_statement_import_online_ponto/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
17 changes: 17 additions & 0 deletions account_statement_import_online_ponto/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2020 Florent de Labarre.
# Copyright 2020 Tecnativa - João Marques.
# Copyright 2022-2023 Therp BV <https://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Online Bank Statements: MyPonto.com",
"version": "16.0.1.0.0",
"category": "Account",
"website": "https://github.com/OCA/bank-statement-import",
"author": "Florent de Labarre, Therp BV, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["account_statement_import_online"],
"data": [
"views/online_bank_statement_provider.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_online_ponto
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"Error during Create Synchronisation {} \n"
"\n"
" {}"
msgstr ""

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"Error during get transaction.\n"
"\n"
"{} \n"
"\n"
" {}"
msgstr ""

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Login"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model,name:account_statement_import_online_ponto.model_online_bank_statement_provider
msgid "Online Bank Statement Provider"
msgstr ""

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Please fill login and key."
msgstr ""

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Ponto : no token"
msgstr ""

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Ponto : wrong configuration, unknow account %s"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_last_identifier
msgid "Ponto Last Identifier"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_token
msgid "Ponto Token"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_token_expiration
msgid "Ponto Token Expiration"
msgstr ""

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Reset Last identifier."
msgstr ""

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Secret Key"
msgstr ""
126 changes: 126 additions & 0 deletions account_statement_import_online_ponto/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_online_ponto
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-01-26 18:52+0000\n"
"Last-Translator: Jaume Planas <jaume.planas@minorisa.net>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"%s \n"
"\n"
" %s"
msgstr ""
"%s \n"
"\n"
" %s"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__display_name
msgid "Display Name"
msgstr "Nom"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"Error during Create Synchronisation %s \n"
"\n"
" %s"
msgstr ""
"Error al crear sincronització %s \n"
"\n"
" %s"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"Error during get transaction.\n"
"\n"
"%s \n"
"\n"
" %s"
msgstr ""
"Error durant la transacció GET.\n"
"\n"
"%s \n"
"\n"
" %s"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__id
msgid "ID"
msgstr "ID"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider____last_update
msgid "Last Modified on"
msgstr "Última modificació el"

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Login"
msgstr "Inicia sessió"

#. module: account_statement_import_online_ponto
#: model:ir.model,name:account_statement_import_online_ponto.model_online_bank_statement_provider
msgid "Online Bank Statement Provider"
msgstr "Proveïdor en línia d'extractes bancaris"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Please fill login and key."
msgstr "Ompliu l'inici de sessió i la clau."

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Ponto : no token"
msgstr "Ponto: cap token"

#. module: account_statement_import_online_ponto
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Ponto : wrong configuration, unknow account %s"
msgstr "Ponto: configuració errònia, compte %s desconegut"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_last_identifier
msgid "Ponto Last Identifier"
msgstr "Ponto Últim identificador"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_token
msgid "Ponto Token"
msgstr "Token Ponto"

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_token_expiration
msgid "Ponto Token Expiration"
msgstr "Caducitat token Ponto"

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Reset Last identifier."
msgstr "Restabliment últim identificador."

#. module: account_statement_import_online_ponto
#: model_terms:ir.ui.view,arch_db:account_statement_import_online_ponto.online_bank_statement_provider_form
msgid "Secret Key"
msgstr "Clau secreta"
Loading
Loading