Skip to content

Commit

Permalink
Merge PR #554 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 18, 2023
2 parents ab55263 + bda6315 commit 7d48088
Show file tree
Hide file tree
Showing 22 changed files with 1,928 additions and 3 deletions.
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

0 comments on commit 7d48088

Please sign in to comment.