Odoo Help

Welcome!

This community 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.

0

How can I add company logo to xsl report?

By
Helmi Ghribi
on 2/13/13, 12:24 PM 2,506 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

Cameron
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
0
test
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.

@Enjoy.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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