Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
1fb722d
[ADD] First commit of the first financial modules to move in our new …
jgrandguillaume Aug 12, 2011
d0c5fc8
[MRG] Form trunk
yvaucher Sep 1, 2011
11facc1
[MRG] currency_rate_update fix
Nov 21, 2011
acb5320
[FIX] currency_rate_update - missing dependency on account
yvaucher Feb 3, 2012
83c458d
[FIX] change c2c_currency_rate_update to currency_rate_update for sec…
vrenaville Aug 25, 2011
c9633a4
[MRG] from stable
Nov 21, 2011
ddd7fe8
[MRG] merge from trunk
vrenaville Sep 1, 2011
d7320f7
[FIX] currency rate update
vrenaville Nov 15, 2011
4320ad3
[MRG] Form trunk
yvaucher Sep 1, 2011
ccea4d1
[MRG] from 6.0 branch
Feb 23, 2012
3d5fdec
[FIX] currency rate update search base on name instead of code
vrenaville Nov 15, 2011
8ec8520
[FIX] currency_rate_update - missing dependency on account
yvaucher Feb 3, 2012
ef608c2
[TYPO] Uniformize author in Camptocamp modules
jgrandguillaume Feb 3, 2012
02de32b
[MRG] from 6.1 c2c-financial-addons
Feb 23, 2012
9157c20
[FIX] contributors
yvaucher Feb 20, 2012
d5a02e2
[MRG] from tunk 6.1
nbessi Mar 30, 2012
24a2f97
[MRG] from upstream
Apr 23, 2012
f3c85fb
[FIX] Merge from c2c-financial-addons 6.0. Port of account_financial_…
Feb 23, 2012
87f6cf1
[FIX] removed unused imports
Apr 23, 2012
e278a86
[MIGR] set installable to False on all the modules, the flag has to b…
guewen Jan 4, 2013
16e1fa0
[CHG] changed icon of module currency_rate_update
maxime-c2c Jan 15, 2013
f8efa64
[FIX] currency_rate_update views
eLBati Feb 12, 2013
3b22fdc
[IMP] remove +x rights on files
yvaucher Mar 19, 2013
b89fc25
[FIX] imports
jbaudoux Sep 17, 2013
cee9892
Launchpad automatic translations update.
Nov 12, 2013
2d7f94f
Added option to use Banxico for update USD - MXN exchange rates
agb80 Dec 13, 2013
c0bb250
[IMP] Make base currency based on currency maked as base and not rela…
Jan 29, 2014
1aa4692
[ADD] Currency rate updates from Bank Of Canada
ddico Feb 1, 2014
5bb2669
FIX replace print for orm.except_orm
Feb 4, 2014
f8c5681
Launchpad automatic translations update.
Feb 14, 2014
4f5f5e1
Set all addons to uninstallable
nbessi Jun 30, 2014
07497e1
currency_rate_update: fix wrong use of timetuple.
Jul 15, 2014
8eee490
[FIX] PEP8
eLBati Sep 3, 2014
3884038
[IMP] fix pylint errors
sbidoul Sep 25, 2014
0ec7859
Minor fix on Banxico Updates
agb80 Oct 4, 2014
0ca7202
[FIX] pylint relative imports
sbidoul Nov 18, 2014
3fc61a9
[MIG] currency_rate_update: Migration to 8.0
feketemihai Nov 10, 2014
5f5fe47
Update strings.
feketemihai Nov 19, 2014
f29e736
initial german translation (mostly)
rschnapka Jan 6, 2015
041e3bc
Add license key in __openerp__.py
yvaucher Feb 6, 2015
bfe5b95
[FIX] Add EUR currency option to ECB service when base currency != EUR
pjmcdermott Apr 9, 2015
8d39ec2
Small fix on description
dreispt May 5, 2015
ec21d4b
Add record rule for currency.rate.update.service
alexis-via May 28, 2015
8fb69af
Fixed the Yahoo service URL. Last time the previous URL worked was on…
mlaitinen Jul 28, 2015
8388263
[IMP] Port to V9
vrenaville Oct 30, 2015
78378eb
Fix contributors, short license headers and copyrights
yvaucher May 4, 2016
af64e9d
[REF] currency_rate_update: refactoring related to PR #318
katyukha Feb 29, 2016
a45b00d
[MIG] currency_rate_update: Migrated to 10.0
nikiwaibel Oct 27, 2016
0a83bdb
[FIX+IMP] currency_rate_update: Several things:
alexis-via Dec 5, 2016
a841c5e
OCA Transbot updated translations from Transifex
oca-transbot Sep 12, 2015
a8ba111
migrated currency_rate_update to 11.0
jesusVMayor Nov 14, 2017
5c15f6f
[FIX+IMP] currency_rate_update: fix tests + introduce compatibility w…
JordiBForgeFlow Mar 19, 2018
678364c
Update res.config view to show auto_currency_up field and label.
Mar 21, 2018
ebdb536
OCA Transbot updated translations from Transifex
oca-transbot Mar 24, 2018
5fa7db1
[FIX] currency_rate_update: Update error with multiple companies (#15)
Mar 29, 2018
8bec95e
Update view, odoo compatibility.
Apr 17, 2018
f5e6020
[10.0] currency_rate_update: more robust cron execution (#724)
Nov 9, 2018
793f947
[MIG] currency_rate_update: Migration to 12.0
alexey-pelykh Feb 13, 2019
422c955
[IMP] currency_rate_update: allow access company properties
alexey-pelykh Apr 13, 2019
641a098
[IMP] currency_rate_update: log errors
alexey-pelykh Apr 13, 2019
2b53000
[IMP] currency_rate_update: test coverage
alexey-pelykh Apr 25, 2019
12b0515
[IMP] currency_rate_update: enhance formatting
alexey-pelykh Apr 25, 2019
a501ee1
[UPD] Update currency_rate_update.pot
oca-travis Apr 27, 2019
4d0d8d4
[IMP] currency_rate_update: tests to succeed on non-banking days
alexey-pelykh Apr 30, 2019
ec2e948
[IMP] currency_rate_update: use last_successful_run
alexey-pelykh May 7, 2019
fe4b037
Update translation files
oca-transbot May 20, 2019
7a2dddb
[UPD] Update currency_rate_update.pot
oca-travis May 23, 2019
0398f79
[ADD] Migration scripts to v12
MiquelRForgeFlow May 24, 2019
b0b3258
Update translation files
oca-transbot Jun 16, 2019
1f6760f
[FIX] currency_rate_update: no data on weekends
alexey-pelykh Aug 7, 2019
f5a5e1a
currency_rate_update 12.0.1.1.2
OCA-git-bot Aug 7, 2019
0602a14
Update translation files
oca-transbot Aug 7, 2019
28c6b03
Update translation files
oca-transbot Sep 20, 2019
5660062
Update translation files
oca-transbot Nov 4, 2019
32e0507
Translated using Weblate (Croatian)
badbole Nov 13, 2019
de8bfdc
Translated using Weblate (Spanish)
Galoperd Dec 3, 2019
41caccb
Translated using Weblate (Croatian)
badbole Dec 3, 2019
cde7a49
[12.0][IMP] currency_rate_update for non EUR companies
Martronic-SA Oct 18, 2019
1f9f375
Update translation files
oca-transbot Feb 14, 2020
7dc74c3
[IMP] currency_rate_update: black, isort
feketemihai Mar 7, 2020
bb3a353
[MIG] [13.0] Migrate currency_rate_update to 13.0
feketemihai Mar 7, 2020
aeb7288
pre-commit update
OCA-git-bot Mar 14, 2020
bbddce6
Update translation files
oca-transbot Mar 14, 2020
f58d359
[FIX] currency_rate_update: catch any exception
alexey-pelykh Mar 23, 2020
34c92e5
currency_rate_update 13.0.1.0.1
OCA-git-bot Mar 23, 2020
fa9745a
Update translation files
oca-transbot Mar 23, 2020
fc5bf49
[IMP] res_currency_rate_provider: makes currency_ids required for a b…
HaraldPanten Jul 3, 2020
8d1be73
[FIX] currency_rate_update: Migration to 13.0
alexey-pelykh Jul 3, 2020
837baa1
currency_rate_update 13.0.1.0.2
OCA-git-bot Jul 4, 2020
606fd76
Update translation files
oca-transbot Aug 16, 2020
e26a9bc
[MIG] currency_rate_update: Migration to 14.0
feketemihai Oct 9, 2020
ceb6204
[MIG] currency_rate_update: Migration to 15.0
tupaq Oct 20, 2021
0fc3478
Translated using Weblate (Spanish (Argentina))
ibuioli Jun 29, 2022
b885f5e
[FIX] currency_rate_update: Add noupdate=1 to cron record.
victoralmau Nov 17, 2021
2a7d095
[FIX] currency_rate_update: Set the correct default value in the comp…
victoralmau Nov 23, 2021
023825b
[FIX] currency_rate_update: Prevent last_successful_run update if all…
victoralmau Nov 17, 2021
d84483a
[FIX] currency_rate_update: Change ECB close time to 19 according to …
victoralmau Aug 5, 2022
bee74a8
currency_rate_update 15.0.1.1.0
OCA-git-bot Aug 8, 2022
81496d6
[MIG] currency_rate_update: Migration to 16.0
AEstLo Oct 26, 2022
4dc4d75
currency_rate_update: add logs to help understand and debug
alexis-via Dec 5, 2022
201ef91
[IMP] Removing en.po file for pre-commit.
AEstLo Dec 13, 2022
df59aad
Update translation files
weblate Dec 13, 2022
cdf614c
[FIX] currency_rate_update
AungKoKoLin1997 Dec 21, 2022
9ceb06a
[IMP] currency_rate_update: Do not call the _schedule_next_run() meth…
victoralmau Dec 12, 2022
e95f633
currency_rate_update 16.0.1.0.1
OCA-git-bot Dec 22, 2022
6330f87
currency_rate_update 16.0.1.0.2
OCA-git-bot Dec 23, 2022
4f27656
[FIX] currency_rate_update
kanda999 Dec 26, 2022
476a383
currency_rate_update 16.0.1.1.0
OCA-git-bot Dec 30, 2022
19b98f5
Update translation files
weblate Dec 30, 2022
3ba76c5
currency_rate_update: fix bad strings
alexis-via Jun 9, 2023
618c325
currency_rate_update 16.0.1.1.1
OCA-git-bot Jun 14, 2023
1982102
Update translation files
weblate Jun 14, 2023
fe23868
Translated using Weblate (Italian)
francesco-ooops Jun 22, 2023
058f2a3
Translated using Weblate (Spanish)
Gelo-fl Jun 26, 2023
0b495ac
Translated using Weblate (Italian)
francesco-ooops Jul 11, 2023
c7e63ee
[FIX] currency_rate_update: Fix CWE-611 (#178)
abhinavvaidya-tsd Aug 28, 2023
db15b5e
currency_rate_update 16.0.1.1.2
OCA-git-bot Aug 28, 2023
753293a
Update translation files
weblate Sep 3, 2023
c38a847
Translated using Weblate (Spanish)
Ivorra78 Sep 5, 2023
e443079
Translated using Weblate (Italian)
francesco-ooops Sep 7, 2023
ec92779
Translated using Weblate (Spanish)
Ivorra78 Sep 20, 2023
24bf0fe
Update translation files
weblate Oct 29, 2023
d7a5e00
Translated using Weblate (French)
Oct 30, 2023
6a933fb
Translated using Weblate (Dutch)
ThijsvOers Nov 7, 2023
0794333
Translated using Weblate (Chinese (Simplified) (zh_CN))
GoodERPJeff Nov 8, 2023
7abb1e6
[IMP] currency_rate_update: pre-commit auto fixes
quoc-pn Nov 21, 2023
00e382f
[MIG] currency_rate_update: Migration to 17.0
quoc-pn Nov 27, 2023
e1ff11a
Update translation files
weblate Feb 3, 2024
a026aeb
Translated using Weblate (Italian)
mymage Feb 13, 2024
a2cb9ad
[IMP] pre-commit fixes
alexey-pelykh May 1, 2024
6101e6b
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
f65803f
Translated using Weblate (Italian)
mymage Aug 1, 2024
a56ab77
Update translation files
weblate Aug 1, 2024
2d42316
Translated using Weblate (Italian)
mymage Aug 30, 2024
bd4de15
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 8, 2024
3248ea1
[IMP] currency_rate_update: Remove DeprecationWarning: XML declaratio…
victoralmau Oct 17, 2024
cbe4523
[IMP] currency_rate_update: pre-commit auto fixes
tupaq Oct 21, 2024
bffe0e9
[MIG] currency_rate_update: Migration to 18.0
tupaq Oct 21, 2024
2068acc
[IMP] currency_rate_update: improve wizard usability
alexis-via Nov 26, 2024
762926a
Translated using Weblate (Turkish)
bo-eska May 26, 2025
068fd08
Translated using Weblate (Latvian)
myacc-pro Sep 3, 2025
16205b6
Update translation files
weblate Sep 3, 2025
39a1f00
Translated using Weblate (Latvian)
myacc-pro Sep 3, 2025
b4e2214
Translated using Weblate (Italian)
mymage Sep 3, 2025
8eb8f7e
Translated using Weblate (Latvian)
myacc-pro Sep 3, 2025
da01dd4
Translated using Weblate (Russian)
myacc-pro Sep 3, 2025
a5f3871
[IMP] currency_rate_update: pre-commit auto fixes
tupaq Oct 12, 2025
10c2bd3
[MIG] currency_rate_update: Migration to 19.0
tupaq Oct 12, 2025
7c82b0b
[UPD] Update currency_rate_update.pot
Dec 27, 2025
6b279b0
[BOT] post-merge updates
OCA-git-bot Dec 27, 2025
2b97ba6
Translated using Weblate (Slovenian)
sysadminmatmoz Jan 22, 2026
d92afcb
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 7, 2026
f1ef4e3
[UPD] Update currency_rate_update.pot
Jun 7, 2026
0d343bc
Update translation files
weblate Jun 7, 2026
6a76bd1
Translated using Weblate (Italian)
mymage Jun 8, 2026
9ecd6f4
Translated using Weblate (Slovenian)
sysadminmatmoz Jun 30, 2026
f10d554
[IMP] currency_rate_update: pre-commit auto fixes
Mimbex Sep 29, 2026
4c52d48
[MIG] currency_rate_update: Migration to 20.0
Mimbex Sep 29, 2026
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
147 changes: 147 additions & 0 deletions currency_rate_update/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

====================
Currency Rate Update
====================

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

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

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

This module provides base for building exchange rates providers and
bundles following built-in providers:

- **European Central Bank** (ported by Grzegorz Grzelak -
OpenGLOBE.pl): reference rates are based on the regular daily query
procedure between central banks within and outside the European
System of Central Banks, which normally takes place at 2:15 p.m.
(14:15) ECB time. Source is in EUR, for more details see
`corresponding ECB
page <https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html>`__.

This module is compatible with ``currency_rate_inverted`` module
provided by OCA, that allows to maintain exchange rates in inverted
format, helping to resolve rounding issues.

**Table of contents**

.. contents::
:local:

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

To enable scheduled currency rates update:

# Go to *Invoicing > Configuration > Settings* # Ensure *Automatic
Currency Rates (OCA)* is checked

To configure currency rates providers:

# Go to *Invoicing > Configuration > Currency Rates Providers* # Create
and configure one or more providers

Usage
=====

To update historical currency rates:

# Go to *Invoicing > Configuration > Currency Rates Providers* # Select
specific providers # Launch *Actions > Update Rates Wizard* # Configure
date interval and click *Update*

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%0Aversion:%2020.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
-------

* Camptocamp
* CorporateHub

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

- Nicolas Bessi <nicolas.bessi@camptocamp.com>
- Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com>
- Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com>
- Grzegorz Grzelak <grzegorz.grzelak@openglobe.pl> (ECB, NBP)
- Vincent Renaville <vincent.renaville@camptocamp.com>
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Lorenzo Battistini <lorenzo.battistini@agilebg.com> (Port to V7)
- Agustin Cruz <openpyme.mx> (BdM)
- Jacque-Etienne Baudoux <je@bcim.be>
- Juan Jose Scarafia <jjscarafia@paintballrosario.com.ar>
- Mathieu Benoi <mathben963@gmail.com>
- Fekete Mihai <feketemihai@gmail.com> (Port to V8)
- Dorin Hongu <dhongu@gmail.com> (BNR)
- Paul McDermott
- Alexis de Lattre <alexis@via.ecp.fr>
- Miku Laitinen
- Assem Bayahi
- Daniel Dico <ddico@oerp.ca> (BOC)
- Dmytro Katyukha <firemage.dima@gmail.com>
- Jesús Ventosinos Mayor <jesus@comunitea.com>
- `CorporateHub <https://corporatehub.eu/>`__

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

- `Quartile Limited <https://www.quartile.co/>`__:

- Tatsuki Kanda <kanda@quartile.co>

- `Komit Company Limited <https://komit-consulting.com/>`__:

- Quoc Pham Ngoc <quoc-pn@komit-consulting.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/20.0/currency_rate_update>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions currency_rate_update/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

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

{
"name": "Currency Rate Update",
"version": "20.0.1.0.0",
"author": "Camptocamp, CorporateHub, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/currency",
"license": "AGPL-3",
"category": "Financial Management/Configuration",
"summary": "Update exchange rates using OCA modules",
"depends": ["base", "mail", "account"],
"data": [
"data/cron.xml",
"security/ir.access.csv",
"wizards/res_currency_rate_update_wizard.xml",
"views/res_currency_rate.xml",
"views/res_currency_rate_provider.xml",
"views/res_config_settings.xml",
],
"installable": True,
}
19 changes: 19 additions & 0 deletions currency_rate_update/data/cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="ir_cron_currency_rates_update_every_day" model="ir.cron">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a pre-commit commit "autofixes"; I'm not sure if the script did that or if you did.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are completely right. I ran pre-commit directly on the imported branch and split the autofixes into a dedicated [IMP] currency_rate_update: pre-commit auto fixes commit right before the [MIG] currency_rate_update: Migration to 20.0 commit, exactly as specified in the OCA migration workflow. Thank you for pointing that out!

<field name="name">Currency Rates Update (OCA) daily</field>
<field name="interval_number" eval="1" />
<field name="interval_type">days</field>
<field name="state">code</field>
<field name="nextcall">2019-01-01 00:01:00</field>
<field
name="model_id"
ref="currency_rate_update.model_res_currency_rate_provider"
/>
<field name="code">model._scheduled_update()</field>
</record>
</odoo>
Loading
Loading