[FIX] XSL Report : title of xsl reports should support accented characters
authorJay (OpenERP) <jvo@tinyerp.com>
Thu, 7 Oct 2010 14:48:55 +0000 (20:18 +0530)
committerJay (OpenERP) <jvo@tinyerp.com>
Thu, 7 Oct 2010 14:48:55 +0000 (20:18 +0530)
bzr revid: jvo@tinyerp.com-20101007144855-tya2ovyqyv1mzdoq

bin/report/render/rml2pdf/utils.py

index 7c0a8af..63d8667 100644 (file)
@@ -172,7 +172,7 @@ def attr_get(node, attrs, dict={}):
     for key in dict:
         if node.get(key):
             if dict[key]=='str':
-                res[key] = str(node.get(key))
+                res[key] = tools.ustr(node.get(key))
             elif dict[key]=='bool':
                 res[key] = bool_get(node.get(key))
             elif dict[key]=='int':