Somesh Khare has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-17108-skh into 
lp:openobject-addons/6.0.

Requested reviews:
  Raphael Collet (OpenERP) (rco-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-17108-skh/+merge/75675

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
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-17108-skh/+merge/75675
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-17108-skh.
=== modified file 'hr_holidays/report/holidays_summary_report.py'
--- hr_holidays/report/holidays_summary_report.py	2011-08-29 08:01:14 +0000
+++ hr_holidays/report/holidays_summary_report.py	2011-09-16 06:01:26 +0000
@@ -21,6 +21,7 @@
 
 import datetime
 import time
+import string
 
 from osv import fields, osv
 from report.interface import report_rml
@@ -243,7 +244,7 @@
         %s
         %s
         </report>
-        ''' % (header_xml,months_xml,date_xml, ustr(emp_xml))
+        ''' % (header_xml,months_xml,string.join(date_xml), ustr(emp_xml))
 
         return xml
 

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to