Skip to Content
Menú
This question has been flagged
1 Respondre
8650 Vistes

How can I add a company logo to attendance by month on a xsl report ? I'd like to add the company header in my report.

Avatar
Descartar

Is it xsl or xls as in excel sheet ?

Autor

not excel sheet i want to add logo in report \Server\addons\hr_attendance\report\bymonth.xsl

Have you tried editing the report using openoffice - you get the opportunity to add the company header when you save it

Autor

you can't edit report xsl with OpenReports Designer, you can edit just the RML report with openoffice.

Best Answer

To set header

Open attendance_by_month.py

edit below line: report_custom('report.hr.attendance.bymonth', 'hr.employee', '', 'addons/hr_attendance/report/bymonth.xsl')

And make it to: report_custom('report.hr.attendance.bymonth', 'hr.employee', '', 'addons/hr_attendance/report/bymonth.xsl', header='external')

This will add company default header.

@Enjoy.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
7264
0
de març 15
4656
1
de març 15
5927
1
de nov. 24
1533
0
d’ag. 24
1584