コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3542 ビュー

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.

アバター
破棄
最善の回答

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

アバター
破棄
著作者

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

Is there any solution?

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
5月 21
4503
1
3月 22
4181
0
6月 21
9174
1
1月 20
10100
1
12月 17
5385