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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
8653
Widoki
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
mar 15
|
7271 | ||
|
0
mar 15
|
4664 | ||
|
1
mar 15
|
5941 | ||
|
1
lis 24
|
1542 | ||
|
0
sie 24
|
1590 |
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.