details: https://code.tryton.org/tryton/commit/6fde4abca25f
branch: 7.0
user: Cédric Krier <[email protected]>
date: Mon Apr 20 10:32:39 2026 +0200
description:
Prepend www to URL of bnr.ro website
Closes #14784
(grafted from a3b875e9b443c5efffcc84a4fc3b69069e949fe8)
diffstat:
modules/currency_ro/currency.py | 4 ++--
modules/currency_ro/doc/design.rst | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 703a52aef719 -r 6fde4abca25f modules/currency_ro/currency.py
--- a/modules/currency_ro/currency.py Mon Apr 20 18:14:28 2026 +0200
+++ b/modules/currency_ro/currency.py Mon Apr 20 10:32:39 2026 +0200
@@ -11,8 +11,8 @@
from trytond.pool import PoolMeta
from trytond.pyson import Eval, If
-URL_10DAYS = 'https://bnr.ro/nbrfxrates10days.xml'
-URL_YEAR = 'https://bnr.ro/files/xml/years/nbrfxrates%s.xml'
+URL_10DAYS = 'https://www.bnr.ro/nbrfxrates10days.xml'
+URL_YEAR = 'https://www.bnr.ro/files/xml/years/nbrfxrates%s.xml'
TIMEOUT = config.getfloat('currency_ro', 'requests_timeout', default=300)
diff -r 703a52aef719 -r 6fde4abca25f modules/currency_ro/doc/design.rst
--- a/modules/currency_ro/doc/design.rst Mon Apr 20 18:14:28 2026 +0200
+++ b/modules/currency_ro/doc/design.rst Mon Apr 20 10:32:39 2026 +0200
@@ -10,7 +10,7 @@
======================
When the *Currency RO Module* is activated, the `Romanian National Bank
-<https://bnr.ro/>`_ is added as source.
+<https://www.bnr.ro/>`_ is added as source.
If it is selected then only the Romanian Leu can be used as a base currency.
.. seealso::