Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8714 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

Is it xsl or xls as in excel sheet ?

Tác giả

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

Tác giả

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
7337
0
thg 3 15
4764
1
thg 3 15
6034
1
thg 11 24
1695
0
thg 8 24
1677