details:   https://code.tryton.org/tryton/commit/a3b875e9b443
branch:    default
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
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 2265bacb7aff -r a3b875e9b443 modules/currency_ro/currency.py
--- a/modules/currency_ro/currency.py   Tue Apr 21 10:06:41 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'
 
 
 class Cron(metaclass=PoolMeta):
diff -r 2265bacb7aff -r a3b875e9b443 modules/currency_ro/doc/design.rst
--- a/modules/currency_ro/doc/design.rst        Tue Apr 21 10:06:41 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::

Reply via email to