Update hostname of Romanian National Bank URL
Closes #15001 (grafted from 2c59c7615b52526b627b7416f2e315f96d54a430) --HG-- branch : 7.0
This commit is contained in:
1 parent
7d2d1f7c48
commit
ca8537d7f5
1 file changed
+2
-2
@@ -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://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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user