details: https://code.tryton.org/tryton/commit/550a7a800f4e
branch: 7.0
user: Cédric Krier <[email protected]>
date: Mon Aug 10 09:21:25 2026 +0200
description:
Update hostname of Romanian National Bank URL
Closes #15001
(grafted from 2c59c7615b52526b627b7416f2e315f96d54a430)
diffstat:
modules/currency_ro/currency.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 37582c35e492 -r 550a7a800f4e modules/currency_ro/currency.py
--- a/modules/currency_ro/currency.py Mon Jan 29 18:47:56 2024 +0100
+++ b/modules/currency_ro/currency.py Mon Aug 10 09:21:25 2026 +0200
@@ -11,8 +11,8 @@
from trytond.pool import PoolMeta
from trytond.pyson import Eval, If
-URL_10DAYS = 'https://www.bnr.ro/nbrfxrates10days.xml'
-URL_YEAR = 'https://www.bnr.ro/files/xml/years/nbrfxrates%s.xml'
+URL_10DAYS = 'https://curs.bnr.ro/nbrfxrates10days.xml'
+URL_YEAR = 'https://curs.bnr.ro/files/xml/years/nbrfxrates%s.xml'
TIMEOUT = config.getfloat('currency_ro', 'requests_timeout', default=300)