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

[17.0][MIG] account_statement_import_online_ponto: Migration to 17.0 #741

Open
wants to merge 25 commits into
base: 17.0
Choose a base branch
from
Open
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
551efbd
[IMP] Adapt account_bank_statement_import_online to 14.0
NL66278 May 28, 2021
173e356
[FIX] account_statement_import_online: further improvements.
NL66278 Jul 14, 2021
7b895dd
[FIX] account_statement_import_online_ponto: fix vals dict to create …
Aug 19, 2021
747629b
[FIX] account_statement_import_online_ponto: verify TLS
Sep 29, 2021
0eeaac7
Added translation using Weblate (Italian)
primes2h Nov 25, 2021
378ee8b
[IMP] *_online_ponto: code organisation
NL66278 Dec 13, 2021
8b41028
[IMP] account_statement_import_online[_ponto] improvements.
NL66278 Dec 13, 2021
6dfb46a
[FIX] *_online Improvements after review
NL66278 Dec 13, 2021
4b7589b
Added translation using Weblate (Catalan)
Jan 26, 2022
5c32abd
Add module account_statement_import_base
alexis-via Aug 7, 2022
a0b3449
[IMP] *_online_ponto: forward port 12.0 improvements
NL66278 Oct 2, 2022
0ed5254
ponto: date field to use is now configurable
alexis-via Jan 19, 2023
878211d
[IMP] *_online_ponto: add timeout to request get and post
NL66278 Jan 20, 2023
d99cafb
[IMP] *_online_ponto: improved data retrieval logic
NL66278 Jan 19, 2023
f38e249
[MIG]account_statement_import_online_ponto: Migration to 15.0
manuelregidor Apr 13, 2022
698f772
[MIG] account_statement_import_online_ponto: Migration to 16.0
NL66278 Jan 27, 2023
cf5826d
[FIX] Group statement lines by period before update/create
astirpe Sep 22, 2023
79263bd
[16.0][IMP] account_statement_import_online_ponto: retrieve partner
astirpe Sep 25, 2023
f341c93
Added translation using Weblate (Spanish)
Ivorra78 Nov 1, 2023
e967a2f
Added translation using Weblate (Dutch)
ThijsvOers Nov 14, 2023
1a18106
[IMP] account_statement_import_online_ponto: adapt to debug mechanism
StefanRijnhart Feb 2, 2024
ba31eb6
[16.0][FIX] models/online_bank_statement_provider_ponto.py: prevent a…
vaab Dec 18, 2023
9a5974f
Translated using Weblate (Italian)
mymage May 3, 2024
b2fb611
[IMP] account_statement_import_online_ponto: pre-commit auto fixes
victoralmau Nov 15, 2024
82d7a39
[MIG] account_statement_import_online_ponto: Migration to 17.0
victoralmau Nov 15, 2024
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
130 changes: 130 additions & 0 deletions account_statement_import_online_ponto/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
===================================
Online Bank Statements: MyPonto.com
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4761a86432e267dd6dc91976fd25d4ea5ae91d06c8f1bf8a50c24c1916268d8e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/bank-statement-import-17-0-account_statement_import_online_ponto
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0
:alt: Try me on Runboat

|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:

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

or, alternatively:

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

To obtain *Login* and *Key*:

1. Open `MyPonto.com <https://myponto.com/>`__.

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

Usage
=====

To pull historical bank statements:

1. Go to *Invoicing > Configuration > Bank Accounts*
2. Select specific bank accounts
3. Launch *Actions > Online Bank Statements Pull Wizard*
4. 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 to smash 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:%2017.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
* Therp BV

Contributors
------------

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

- Pedro M. Baeza
- João Marques

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

- Ronald Portier <[email protected]>

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/17.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": "17.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,166 @@
# 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 16.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
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "%d transactions present in response data"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields.selection,name:account_statement_import_online_ponto.selection__online_bank_statement_provider__ponto_date_field__execution_date
msgid "Execution Date"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "GET request on %(url)s"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "GET request to %(url)s with headers %(headers)s and params %(params)s"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "HTTP answer code %(response_code)s from Ponto"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model,name:account_statement_import_online_ponto.model_ponto_interface
msgid "Interface to all interactions with Ponto API"
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
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "No lines were retrieved from Ponto"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "No transactions where found in data %(data)s"
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
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "POST request on %(url)s"
msgstr ""

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

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

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "Ponto : wrong configuration, account {account} not found in {data}"
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 "Ponto Config"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,field_description:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_date_field
msgid "Ponto Date Field"
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
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid "Ponto obtain all new statement data for journal %s"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/online_bank_statement_provider_ponto.py:0
#, python-format
msgid ""
"Ponto obtain statement data for journal %(journal)s from %(date_since)s to "
"%(date_until)s"
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 ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields,help:account_statement_import_online_ponto.field_online_bank_statement_provider__ponto_date_field
msgid ""
"Select the Ponto date field that will be used for the Odoo bank statement "
"line date."
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/models/ponto_interface.py:0
#, python-format
msgid "Server returned status code {response_code}: {response_text}"
msgstr ""

#. module: account_statement_import_online_ponto
#. odoo-python
#: code:addons/account_statement_import_online_ponto/tests/test_account_statement_import_online_ponto.py:0
#, python-format
msgid "Statement contains transactions: %s"
msgstr ""

#. module: account_statement_import_online_ponto
#: model:ir.model.fields.selection,name:account_statement_import_online_ponto.selection__online_bank_statement_provider__ponto_date_field__value_date
msgid "Value Date"
msgstr ""
Loading
Loading