Skip to content
Merged
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
100 changes: 100 additions & 0 deletions currency_rate_update_xe/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
============================
Currency Rate Update: XE.com
============================

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

.. |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/17.0/currency_rate_update_xe
:alt: OCA/currency
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/currency-17-0/currency-17-0-currency_rate_update_xe
: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=17.0
:alt: Try me on Runboat

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

This module adds `XE.com <https://xe.com/>`__ currency exchange rates
provider.

Disclaimer: The rates are fetched by scraping the corresponding web
page. Being a public page, it's legal according sentences like
https://seointel.com/news/the-court-determines-that-data-scraping-is-legal-on-linkedin/

**Table of contents**

.. contents::
:local:

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

Now you can choose the 'XE.com' service when configuring a currency
rates providers.

1. Go to *Invoicing > Configuration > Currency Rates Providers*.
2. Create a new 'Currency Rates Providers' or edit an existing one and
you will see 'XE.com' among the available 'Source Services' to
choose.
3. If you choose 'XE.com' as a 'Source Service', the exchange rates will
be updated from that provider.

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_xe%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
-------

* Tecnativa

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

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

- Ernesto Tejeda

- `APSL <https://www.apsl.tech>`__:

- Miquel Pascual <mpascual@apsl.net>

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/17.0/currency_rate_update_xe>`_ 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_xe/__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
17 changes: 17 additions & 0 deletions currency_rate_update_xe/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2023 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Currency Rate Update: XE.com",
"version": "18.0.1.0.0",
"category": "Financial Management/Configuration",
"summary": "Update exchange rates using XE.com",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/currency",
"license": "AGPL-3",
"installable": True,
"application": False,
"depends": [
"currency_rate_update",
],
}
36 changes: 36 additions & 0 deletions currency_rate_update_xe/i18n/currency_rate_update_xe.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * currency_rate_update_xe
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_xe
#. odoo-python
#: code:addons/currency_rate_update_xe/models/res_currency_rate_provider_XE.py:0
#, python-format
msgid "Couldn't fetch data. Please contact your administrator."
msgstr ""

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

#. module: currency_rate_update_xe
#: model:ir.model.fields,field_description:currency_rate_update_xe.field_res_currency_rate_provider__service
msgid "Provider"
msgstr ""

#. module: currency_rate_update_xe
#: model:ir.model.fields.selection,name:currency_rate_update_xe.selection__res_currency_rate_provider__service__xe
msgid "XE.com"
msgstr ""
44 changes: 44 additions & 0 deletions currency_rate_update_xe/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * currency_rate_update_xe
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 07:38+0000\n"
"PO-Revision-Date: 2024-04-23 11:37+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: currency_rate_update_xe
#. odoo-python
#: code:addons/currency_rate_update_xe/models/res_currency_rate_provider_XE.py:0
#, python-format
msgid "Couldn't fetch data. Please contact your administrator."
msgstr ""
"No se pudieron obtener los datos. Por favor, contacte a su administrador."

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

#. module: currency_rate_update_xe
#: model:ir.model.fields,field_description:currency_rate_update_xe.field_res_currency_rate_provider__service
msgid "Provider"
msgstr "Proveedor"

#. module: currency_rate_update_xe
#: model:ir.model.fields.selection,name:currency_rate_update_xe.selection__res_currency_rate_provider__service__xe
msgid "XE.com"
msgstr "XE.com"

#~ msgid "Source Service"
#~ msgstr "Servicio Fuente"
39 changes: 39 additions & 0 deletions currency_rate_update_xe/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * currency_rate_update_xe
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-04-17 14:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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_xe
#. odoo-python
#: code:addons/currency_rate_update_xe/models/res_currency_rate_provider_XE.py:0
#, python-format
msgid "Couldn't fetch data. Please contact your administrator."
msgstr "Impossibile recuperare i dati. Contattare l'amministratore."

#. module: currency_rate_update_xe
#: model:ir.model,name:currency_rate_update_xe.model_res_currency_rate_provider
msgid "Currency Rates Provider"
msgstr "Fornitore tassi di cambio"

#. module: currency_rate_update_xe
#: model:ir.model.fields,field_description:currency_rate_update_xe.field_res_currency_rate_provider__service
msgid "Provider"
msgstr "Gestore"

#. module: currency_rate_update_xe
#: model:ir.model.fields.selection,name:currency_rate_update_xe.selection__res_currency_rate_provider__service__xe
msgid "XE.com"
msgstr "XE.com"
2 changes: 2 additions & 0 deletions currency_rate_update_xe/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from . import res_currency_rate_provider_XE
Loading