Skip to Content
Menu
This question has been flagged
3 Replies
26167 Views

i have a fields.html and i fill them with : 

Model : CQ 3303 TMG 366

Engine : Wei Chai / Uero 2 ; Type : WD.12.375


but when i try to print them using qweb and the result is


<p>Model : CQ 3303 TMG 366</p>

<div>Engine : Wei Chai / Uero 2 ; Type : WD.12.375</div> 


in pdf..

anyone know how to solve this issue? 

thx before

Avatar
Discard
Best Answer

Hello

<span t-raw="my_html_field"/>

should do the works !

Avatar
Discard

Hi Jeremy, I have using code by given you. but I have issue on pdf report. I would to like print this type of html field https://drive.google.com/file/d/0B763E4hoUk59OEtXakd5alBHblU/view?usp=sharing when I print the pdf reports in V8. It's wrong display in pdf you can see on this shared link. https://drive.google.com/file/d/0B763E4hoUk59ODlUWEMzTVFMTWc/view?usp=sharing

If you see the bullets, it s working... After you can customize style with css or style inline... But the rendering is ok

Accepted this answer. Thanks Jérémy :)