Merge lp:~openerp-dev/openobject-addons/6.0-opw-17108-skh into lp:openobject-addons/6.0

Proposed by Somesh Khare
Status: Merged
Merged at revision: 4828
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-17108-skh
Merge into: lp:openobject-addons/6.0
Diff against target: 19 lines (+2/-1)
1 file modified
hr_holidays/report/holidays_summary_report.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-17108-skh
Reviewer Review Type Date Requested Status
Raphael Collet (OpenERP) (community) Approve
Review via email: mp+75675@code.launchpad.net

Description of the change

Hello,

In the hr_holidays module when print the Report : "Leaves by department", Currently it prints accentuated chars in ascii. Example: "é" is displayed "\xe9".

I have fixed this issue for holidays_summary_report.py in the report.

Thanks,
skh

To post a comment you must log in.
4827. By Raphael Collet (OpenERP)

[MERGE] base_contact : Added space between name and street in the Address of a contact (Case:17182)

Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

Okay.

review: Approve
4828. By Raphael Collet (OpenERP)

[MERGE] hr_holidays: Accented characters are not printed in report : Leaves by department (Case 17108)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_holidays/report/holidays_summary_report.py'
2--- hr_holidays/report/holidays_summary_report.py 2011-08-29 08:01:14 +0000
3+++ hr_holidays/report/holidays_summary_report.py 2011-09-16 06:01:26 +0000
4@@ -21,6 +21,7 @@
5
6 import datetime
7 import time
8+import string
9
10 from osv import fields, osv
11 from report.interface import report_rml
12@@ -243,7 +244,7 @@
13 %s
14 %s
15 </report>
16- ''' % (header_xml,months_xml,date_xml, ustr(emp_xml))
17+ ''' % (header_xml,months_xml,string.join(date_xml), ustr(emp_xml))
18
19 return xml
20