details:   https://code.tryton.org/tryton/commit/c12ec9771327
branch:    8.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 53db0aa4995d -r c12ec9771327 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
@@ -44,12 +44,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