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

Hi,

Can anyone tell me how to print a html field value in openerp report. See i have the following code in the quotation

'service_job_desc': fields.html("Service Job Description",help="""This is the service job description field. Here you can narrate all the job description titles and descriptions elaborately. """),

And in form i get the below output

image description

And the actual value in the database is in html

<div><b>A. Category Description</b><br><ul><li>One</li><li>Two</li><li>Three</li></ul><p><b>B. Product Description</b></p><ul><li>One <br></li><li>Two<br></li></ul></div>

So when print this html value it should be properly formatted in the report. probably we need to render this html. Thanks for your time.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 24
1178
1
maalisk. 15
3541
0
toukok. 22
4594
1
tammik. 18
3542
2
huhtik. 15
8132