Skip to Content
Menú
This question has been flagged
2 Respostes
3461 Vistes

Hello,

In odoo there is a header configuration to set a report logo there, but I added a new report and I want to make a custom header with another logo image. The question is how to add my image to this custom header?

Note: I want to get the image from the module file instead of calling it from odoo.

Avatar
Descartar
Best Answer

Hi,

1. You can do that by storing your image inside the directory  your_module/static/src/img/image_name

2. Inside the header in your qweb , place the below code 

< img src='/module name/static/src/img/image name with extention'/>

Hope it helps,

Thanks

Avatar
Descartar
Autor

I made this way but then I am getting it as white paper.

Is there any solution?

Best Answer

Hi,


You can take a reference from the below link to make a custom header report

https://www.youtube.com/watch?v=FzNQ6YgwbWM

ref: another question's answer



Thanks & Regards,
Sunny Sheth

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de maig 21
4420
1
de març 22
4055
0
de juny 21
9086
1
de gen. 20
9967
1
de des. 17
5252