Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
125 changes: 125 additions & 0 deletions currency_rate_update_wise/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
==============================
Currency Rate Update: Wise.com
==============================

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

.. |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%2Fcurrency-lightgray.png?logo=github
:target: https://github.com/OCA/currency/tree/18.0/currency_rate_update_wise
:alt: OCA/currency
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/currency-18-0/currency-18-0-currency_rate_update_wise
: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/currency&target_branch=18.0
:alt: Try me on Runboat

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

This module adds `Wise.com <https://wise.com/>`__ as a currency exchange
rates provider for ``currency_rate_update``.

It is meant as a *worldwide* complement to the built-in ECB provider:
the ECB provider gives the official European, EUR-centric daily
reference, while Wise provides a global rate source with the following
advantages:

- **Rate quality**: Wise returns the interbank mid-market rate. On a
working day, aligned with the ECB fixing, it tracks the ECB reference
very closely (closer than xe.com in our measurements) and applies no
markup to the published rate.
- **Worldwide coverage**: Wise quotes around 164 currencies, against the
29 of the ECB reference list, including currencies the ECB does not
publish (e.g. AED, COP). ECB stays the European reference; Wise
extends accurate rates to the rest of the world.
- **Stable API**: rates are fetched through an authenticated JSON API
rather than by scraping a web page, which keeps updates robust over
time.
- **Efficient and historical**: only the configured currency pairs are
requested (not a whole table), and past rates can be retrieved by
timestamp or date range (daily/hourly/minute granularity), useful for
backfill and corrections.

A Wise.com API token is required (see Configuration).

**Table of contents**

.. contents::
:local:

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

To configure Wise.com currency rates provider credentials:

1. Go to *Invoicing > Configuration > Settings*
2. Fill application credentials in *Currencies > Wise.com Provider*
section

..

**Note**

The API key is stored and sent as an opaque string of any length, so
both the current UUID-format personal tokens and the JWT format Wise
is migrating towards are supported. If a legacy UUID token is
configured, a warning is logged inviting you to regenerate it as JWT.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/currency/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/currency/issues/new?body=module:%20currency_rate_update_wise%0Aversion:%2018.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
-------

* CorporateHub
* Altixia

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

- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>

- `Altixia <https://altixia.com>`__

- Claude Perrin <klodr@users.noreply.github.com>

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/currency <https://github.com/OCA/currency/tree/18.0/currency_rate_update_wise>`_ 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 currency_rate_update_wise/__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.html).

from . import models
18 changes: 18 additions & 0 deletions currency_rate_update_wise/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# Copyright 2026 Altixia (https://altixia.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Currency Rate Update: Wise.com",
"version": "19.0.1.0.0",
"category": "Financial Management/Configuration",
"summary": "Update exchange rates using Wise.com",
"author": "CorporateHub, Altixia, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/currency",
"license": "AGPL-3",
"installable": True,
"application": False,
"depends": ["currency_rate_update"],
"data": ["views/res_config_settings.xml"],
}
89 changes: 89 additions & 0 deletions currency_rate_update_wise/i18n/currency_rate_update_wise.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * currency_rate_update_wise
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
msgid ""
"<span class=\"o_form_label\">Wise.com Provider</span>\n"
" <span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-specific.\" role=\"img\" aria-label=\"Values set here are company-specific.\" groups=\"base.group_multi_company\"/>"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__wise_api_key
msgid "API Key"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_company
msgid "Companies"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_currency_rate_provider
msgid "Currency Rates Provider"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__display_name
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__display_name
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__display_name
msgid "Display Name"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__id
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__id
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__id
msgid "ID"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company____last_update
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings____last_update
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider____last_update
msgid "Last Modified on"
msgstr ""

#. module: currency_rate_update_wise
#: code:addons/currency_rate_update_wise/models/res_currency_rate_provider_Wise.py:0
#, python-format
msgid "No Wise.com credentials specified!"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__service
msgid "Source Service"
msgstr ""

#. module: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
#: model:ir.model.fields.selection,name:currency_rate_update_wise.selection__res_currency_rate_provider__service__wise
msgid "Wise.com"
msgstr ""

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__wise_api_key
msgid "Wise.com API Key"
msgstr ""

#. module: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
msgid "credentials"
msgstr ""
94 changes: 94 additions & 0 deletions currency_rate_update_wise/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * currency_rate_update_wise
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-19 14:36+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\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.17\n"

#. module: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
msgid ""
"<span class=\"o_form_label\">Wise.com Provider</span>\n"
" <span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-specific.\" role=\"img\" aria-label=\"Values set here are company-specific.\" groups=\"base.group_multi_company\"/>"
msgstr ""
"<span class=\"o_form_label\">Proveedor de Wise.com</span>\n"
" <span class=\"fa fa-lg fa-building-o\" title=\"Values set here are company-specific.\" role=\"img\" aria-label=\"Values set here are company-specific.\" groups=\"base.group_multi_company\"/>"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__wise_api_key
msgid "API Key"
msgstr "Clave API"

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_company
msgid "Companies"
msgstr "Compañías"

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustes de Config"

#. module: currency_rate_update_wise
#: model:ir.model,name:currency_rate_update_wise.model_res_currency_rate_provider
msgid "Currency Rates Provider"
msgstr "Proveedor de Tipos de Cambio"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__display_name
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__display_name
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__id
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings__id
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__id
msgid "ID"
msgstr "ID (identificación)"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company____last_update
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_config_settings____last_update
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: currency_rate_update_wise
#: code:addons/currency_rate_update_wise/models/res_currency_rate_provider_Wise.py:0
#, python-format
msgid "No Wise.com credentials specified!"
msgstr "¡No se han especificado credenciales de Wise.com!"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_currency_rate_provider__service
msgid "Source Service"
msgstr "Servicio Fuente"

#. module: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
#: model:ir.model.fields.selection,name:currency_rate_update_wise.selection__res_currency_rate_provider__service__wise
msgid "Wise.com"
msgstr "Wise.com"

#. module: currency_rate_update_wise
#: model:ir.model.fields,field_description:currency_rate_update_wise.field_res_company__wise_api_key
msgid "Wise.com API Key"
msgstr "Wise.com Clave API"

#. module: currency_rate_update_wise
#: model_terms:ir.ui.view,arch_db:currency_rate_update_wise.res_config_settings_view_form
msgid "credentials"
msgstr "Credenciales"
Loading
Loading