Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
8751 Widoki

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.

Awatar
Odrzuć

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.

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
7392
0
mar 15
4812
1
mar 15
6090
1
lis 24
1750
0
sie 24
1700