跳至內容
選單
此問題已被標幟
1 回覆
8750 瀏覽次數

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 ?

作者

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

作者

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

最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
7390
0
3月 15
4806
1
3月 15
6085
1
11月 24
1749
0
8月 24
1699