Skip to content

Commit

Permalink
[MIG] currency_rate_update_xe: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mpascuall committed Apr 11, 2024
1 parent 08611a8 commit ab4f3b3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
6 changes: 5 additions & 1 deletion currency_rate_update_xe/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Currency Rate Update: XE.com
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f856a67004d5a0b2df6e0297a870f313e1ceac50588887daa97bc66da7007827
!! source digest: sha256:54159830b72a5e7058ff6f0040b7d71bdcacbe7f46f2bafe40f5f412ca397ee7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -77,6 +77,10 @@ Contributors

* Ernesto Tejeda

* `APSL <https://www.apsl.tech>`_:

* Miquel Pascual <[email protected]>

Maintainers
~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion currency_rate_update_xe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Currency Rate Update: XE.com",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Financial Management/Configuration",
"summary": "Update exchange rates using XE.com",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _request_data(
url,
):
try:
return requests.request("GET", url)
return requests.request("GET", url, timeout=10)
except Exception as e:
raise UserError(
_("Couldn't fetch data. Please contact your administrator.")
Expand Down
4 changes: 4 additions & 0 deletions currency_rate_update_xe/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda

* `APSL <https://www.apsl.tech>`_:

* Miquel Pascual <[email protected]>
6 changes: 5 additions & 1 deletion currency_rate_update_xe/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Currency Rate Update: XE.com</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f856a67004d5a0b2df6e0297a870f313e1ceac50588887daa97bc66da7007827
!! source digest: sha256:54159830b72a5e7058ff6f0040b7d71bdcacbe7f46f2bafe40f5f412ca397ee7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/currency/tree/16.0/currency_rate_update_xe"><img alt="OCA/currency" src="https://img.shields.io/badge/github-OCA%2Fcurrency-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/currency-16-0/currency-16-0-currency_rate_update_xe"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/currency&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds <a class="reference external" href="https://xe.com/">XE.com</a> currency exchange rates provider.</p>
Expand Down Expand Up @@ -423,6 +423,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Ernesto Tejeda</li>
</ul>
</li>
<li><a class="reference external" href="https://www.apsl.tech">APSL</a>:<ul>
<li>Miquel Pascual &lt;<a class="reference external" href="mailto:mpascual&#64;apsl.net">mpascual&#64;apsl.net</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down

0 comments on commit ab4f3b3

Please sign in to comment.