From e201188e064e4b7a35205a66cdf4c7c64ca243dd Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Thu, 24 Jun 2021 12:38:44 +0200 Subject: [PATCH] B #-: PyONE: don't strip whitespace in TEMPLATE (#1332) --- src/oca/python/pyone/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oca/python/pyone/util.py b/src/oca/python/pyone/util.py index 21425bdf45..7a7e1f0414 100644 --- a/src/oca/python/pyone/util.py +++ b/src/oca/python/pyone/util.py @@ -94,7 +94,7 @@ def child2dict(element): ''' xml = tostring(element) - ret = xmltodict.parse(xml) + ret = xmltodict.parse(xml, strip_whitespace=False) # get the tag name and remove the ns attribute if present if "}" in element.tag: