From 7f03f4ef3fd6fadf0e613d99b021588a98f37d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 20 Apr 2026 10:32:39 +0200 Subject: [PATCH] Prepend www to URL of bnr.ro website Closes #14784 --- modules/currency_ro/currency.py | 4 ++-- modules/currency_ro/doc/design.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/currency_ro/currency.py b/modules/currency_ro/currency.py index 22458ad7bd..e321523f62 100644 --- a/modules/currency_ro/currency.py +++ b/modules/currency_ro/currency.py @@ -11,8 +11,8 @@ from trytond.modules.currency.currency import CronFetchError 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 --git a/modules/currency_ro/doc/design.rst b/modules/currency_ro/doc/design.rst index 356e31d1f0..27fb6444b1 100644 --- a/modules/currency_ro/doc/design.rst +++ b/modules/currency_ro/doc/design.rst @@ -10,7 +10,7 @@ Scheduled Rate Updates ====================== When the *Currency RO Module* is activated, the `Romanian National Bank -`_ is added as source. +`_ is added as source. If it is selected then only the Romanian Leu can be used as a base currency. .. seealso::