From 8b701308ec90e9ff16f2f5e47152196f9b435926 Mon Sep 17 00:00:00 2001 From: mtr Date: Wed, 27 Apr 2011 18:38:52 +0530 Subject: [PATCH] [FIX] hr_attendance: encoded with utf8 lp bug: https://launchpad.net/bugs/771657 fixed bzr revid: mtr@mtr-20110427130852-6d8odic2ng8wwmlm --- addons/hr_attendance/report/timesheet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_attendance/report/timesheet.py b/addons/hr_attendance/report/timesheet.py index 53cbb004872..900f982dc74 100644 --- a/addons/hr_attendance/report/timesheet.py +++ b/addons/hr_attendance/report/timesheet.py @@ -109,6 +109,7 @@ class report_custom(report_rml): %s ''' % '\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')