[FIX] hr_attendance: encoded with utf8

lp bug: https://launchpad.net/bugs/771657 fixed

bzr revid: mtr@mtr-20110427130852-6d8odic2ng8wwmlm
This commit is contained in:
mtr 2011-04-27 18:38:52 +05:30
parent 37725fc9f5
commit 8b701308ec
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ class report_custom(report_rml):
%s
</report>
''' % '\n'.join(user_xml)
xml = tools.ustr(xml).encode('utf8')
return self.post_process_xml_data(cr, uid, xml, context)
report_custom('report.hr.attendance.allweeks', 'hr.employee', '', 'addons/hr_attendance/report/timesheet.xsl')