Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3586 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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

Is there any solution?

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
toukok. 21
4515
1
maalisk. 22
4211
0
kesäk. 21
9192
1
tammik. 20
10116
1
jouluk. 17
5460