Skip to Content
Menu
This question has been flagged
1 Atsakyti
8741 Rodiniai

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.

Portretas
Atmesti

Is it xsl or xls as in excel sheet ?

Autorius

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

Autorius

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
7374
0
kov. 15
4798
1
kov. 15
6072
1
lapkr. 24
1737
0
rugp. 24
1694