Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8708 Visualizzazioni

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
Abbandona

Is it xsl or xls as in excel sheet ?

Autore

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

Autore

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
7334
0
mar 15
4759
1
mar 15
6030
1
nov 24
1688
0
ago 24
1677