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')
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp