Odoo Help


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

on 5/23/13, 7:20 AM 1,446 views


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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/23/13, 7:20 AM
Seen: 1446 times
Last updated: 7/13/16, 11:00 AM