Skip to content

Commit

Permalink
Merge PR #193 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 Apr 11, 2024
2 parents 2a91f85 + ab4f3b3 commit d572ba3
Show file tree
Hide file tree
Showing 16 changed files with 995 additions and 0 deletions.
99 changes: 99 additions & 0 deletions currency_rate_update_xe/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
============================
Currency Rate Update: XE.com
============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:54159830b72a5e7058ff6f0040b7d71bdcacbe7f46f2bafe40f5f412ca397ee7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.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-16-0/currency-16-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=16.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.

#. Go to *Invoicing > Configuration > Currency Rates Providers*.
#. Create a new 'Currency Rates Providers' or edit an existing
one and you will see 'XE.com' among the available
'Source Services' to choose.
#. 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:%2016.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 <[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/currency <https://github.com/OCA/currency/tree/16.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": "16.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",
],
}
35 changes: 35 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,35 @@
# 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"
"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
#: 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 "Source Service"
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 ""
40 changes: 40 additions & 0 deletions currency_rate_update_xe/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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: 2023-07-05 13:09+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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
#: 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 "Source Service"
msgstr "Servicio Fuente"

#. 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

0 comments on commit d572ba3

Please sign in to comment.