OdooWiki OCA HUB

Currency Rate Update - BNR

currency_rate_update_RO_BNR folder_open OCA/l10n-romania open_in_new
Financial Management/Configuration License: AGPL-3

This module adds Banca Națională a României (BNR) as currency rate provider.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds the National Bank of Romania (BNR) as a currency rate provider in Odoo, so users can automatically download and update exchange rates from BNR.

This module plugs the Romanian central bank into Odoo's currency rate update system. Once installed, users configuring a currency rate provider can pick "National Bank of Romania" as the service, alongside the other providers already available.

  • The provider supports a fixed list of currencies, including EUR, USD, GBP, CHF, RON, PLN, HUF, and others such as XAU and XDR.
  • Rates are fetched from the BNR website: a daily file when updating a single day, or a yearly file when updating a date range.
  • For each quoted currency, the module converts the published BNR quotation into the rate format Odoo expects, and only keeps currencies the user selected and dates inside the requested period.
  • If the daily file returns nothing for a single-day request, it automatically retries using the yearly file.
  • On currency rate records, a new stored "inverse rate" field is computed automatically as 1 divided by the rate, so users can see the reverse quotation without entering it manually.

It extends the existing currency rate and currency rate provider models, so it appears wherever those are configured in Odoo's currency settings. No new menus or reports are added.

Depends on

Models and fields (2)
  • res.currency.rate · extends an existing modelinverse_rate
  • res.currency.rate.provider · extends an existing modelservice

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-romania.

terminal Installation and usage

OCA documentation · Odoo 18.0

To install this module, you need to:

  • clone the branch 18.0 of the repository https://github.com/OCA/l10n-romania
  • add the path to this repository in your configuration (addons-path)
  • update the module list
  • search for "Currency Rate Update - BNR" in your addons
  • install the module

No verified information in OCA: Configuration, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.