[FIX] XSL Report : title of xsl reports should support accented characters

bzr revid: jvo@tinyerp.com-20101007145240-x9by6sv89jtco7j5
This commit is contained in:
Jay (OpenERP) 2010-10-07 20:22:40 +05:30
parent bf36237765
commit e38dcfb122
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ from lxml import etree
import copy
import locale
import traceback, sys
import tools
from tools.safe_eval import safe_eval as eval
import logging
@ -176,7 +177,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':