details:   https://code.tryton.org/tryton/commit/545a0db8da50
branch:    7.0
user:      Cédric Krier <[email protected]>
date:      Tue Aug 04 14:34:23 2026 +0200
description:
        Use https for namespaces for currency rate from Romanian National Bank

        Closes #14986
        (grafted from a7bb08629b6172df9e2b249cf15c84ce875f2d85)
diffstat:

 modules/currency_ro/currency.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 550a7a800f4e -r 545a0db8da50 modules/currency_ro/currency.py
--- a/modules/currency_ro/currency.py   Mon Aug 10 09:21:25 2026 +0200
+++ b/modules/currency_ro/currency.py   Tue Aug 04 14:34:23 2026 +0200
@@ -43,12 +43,12 @@
 
         origin, = tree.xpath(
             '//x:Body/x:OrigCurrency',
-            namespaces={'x': 'http://www.bnr.ro/xsd'})
+            namespaces={'x': 'https://www.bnr.ro/xsd'})
         assert origin.text == self.currency.code
 
         cubes = tree.xpath(
             '//x:Body/x:Cube[@date="%s"]' % date.isoformat(),
-            namespaces={'x': 'http://www.bnr.ro/xsd'})
+            namespaces={'x': 'https://www.bnr.ro/xsd'})
         if cubes:
             cube, = cubes
             return {

Reply via email to