openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #06044
[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-771657-mtr into lp:openobject-addons
Meera Trambadia (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-771657-mtr into lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #771657 in OpenERP Addons: "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 384: ordinal not in range(128)"
https://bugs.launchpad.net/openobject-addons/+bug/771657
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-771657-mtr/+merge/59218
hr_attendance:- In 'Weekly Attendance Report',encoded xml content with utf8. --fixes lp:771657
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-771657-mtr/+merge/59218
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-771657-mtr.
=== modified file 'hr_attendance/report/timesheet.py'
--- hr_attendance/report/timesheet.py 2011-02-10 11:26:15 +0000
+++ hr_attendance/report/timesheet.py 2011-04-27 13:27:27 +0000
@@ -109,6 +109,7 @@
%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')
Follow ups