Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8769 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
7410
0
มี.ค. 15
4825
1
มี.ค. 15
6113
1
พ.ย. 24
1770
0
ส.ค. 24
1707