Currency Rate Update: OpenExchangeRates.org
by CorporateHub https://github.com/OCA/currency , Odoo Community Association (OCA) https://github.com/OCA/currencyAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
Community Apps Dependencies | Show |
Lines of code | 710 |
Technical Name |
currency_rate_update_oxr |
License | AGPL-3 |
Website | https://github.com/OCA/currency |
Currency Rate Update: OpenExchangeRates.org
This module adds OpenExchangeRates.org currency exchange rates provider.
Table of contents
Configuration
To configure OpenExchangeRates.org currency rates provider credentials:
# Go to Invoicing > Configuration > Settings # Fill application credentials in Currencies > OpenExchangeRates.org Provider section
Bug Tracker
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- CorporateHub
Contributors
- CorporateHub
- Alexey Pelykh <alexey.pelykh@corphub.eu>
Maintainers
This module is maintained by the OCA.

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 project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Receive error every time I try to set openexchangesrate.org as the currency provider under odoo CE 12
Error: Odoo Server Error Traceback (most recent call last): File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/api.py", line 1032, in get value = self._data[field][record.id][key] KeyError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/fields.py", line 970, in __get__ value = record.env.cache.get(record, self) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/api.py", line 1034, in get raise CacheMiss(record, field) odoo.exceptions.CacheMiss: ('res.currency.rate.provider(,).available_currency_ids', None) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 654, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 312, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 696, in dispatch result = self._call_function(**self.params) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 344, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 337, in checked_call result = self.endpoint(*a, **kw) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 939, in __call__ return self.method(*args, **kw) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/http.py", line 517, in response_wrap response = f(*args, **kw) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/addons/web/controllers/main.py", line 962, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/api.py", line 749, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/api.py", line 736, in _call_kw_multi result = method(recs, *args, **kwargs) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 5433, in onchange snapshot1 = Snapshot(record, nametree) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 5340, in __init__ if subnames else record[name] File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 5049, in __getitem__ return self._fields[key].__get__(self, type(self)) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/fields.py", line 976, in __get__ self.determine_draft_value(record) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/fields.py", line 1096, in determine_draft_value self._compute_value(record) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/fields.py", line 1032, in _compute_value getattr(records, self.compute)() File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/customadd/currency_rate_update/models/res_currency_rate_provider.py", line 129, in _compute_available_currency_ids provider._get_supported_currencies() File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 1555, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 4045, in _search query = self._where_calc(args) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/models.py", line 3838, in _where_calc where_clause, where_params = e.to_sql() File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/osv/expression.py", line 1287, in to_sql q, ps = self.__leaf_to_sql(leaf) File "/opt/bitnami/apps/odoo/lib/odoo-12.0.post20181218-py3.7.egg/odoo/osv/expression.py", line 1229, in __leaf_to_sql raise ValueError("Invalid domain term %r" % (leaf,)) ValueError: Invalid domain term ('name', 'in', dict_keys(['AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AO,.... " ( truncated final line in log which just listed currency)