Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3616 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Is there any solution?

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
kvě 21
4589
1
bře 22
4266
0
čvn 21
9249
1
led 20
10150
1
pro 17
5519