Help

4

How to print a html field value in report with its formatting in openerp7?

Avatar
vivek

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
Discard