跳至內容
選單
此問題已被標幟
3 回覆
1686 瀏覽次數

How to add company logo in PDF report?

頭像
捨棄
最佳答案

Hi George,

Use like this


頭像
捨棄
最佳答案

Hi,

Here is a custom module to add water mark in pdf report, it may help you

https://apps.odoo.com/apps/modules/16.0/pdf_report_with_watermark/


頭像
捨棄
最佳答案

Hi George,

Try the code like this 

<div>

<t t-if="o.company_id.logo">

<img t-att-src="image_data_uri(o.company_id.logo)"

style="width:50px;height:50px"/>

</t>


</div>


you can adjust the width and height by applying style


Regards

頭像
捨棄