Odoo Help


How can I add company logo to xsl report?

Helmi Ghribi
on 2/13/13, 12:24 PM 3,361 views

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.

Is it xsl or xls as in excel sheet ?

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/13/13, 4:10 PM

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

Helmi Ghribi
on 2/13/13, 7:42 PM

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

on 2/27/13, 7:35 AM

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

Helmi Ghribi
on 2/27/13, 9:06 AM
On 3/5/13, 2:27 AM

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.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/13/13, 12:24 PM
Seen: 3361 times
Last updated: 3/16/15, 8:10 AM