Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5260 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
1347
1
mar 15
3783
0
mag 22
4880
1
gen 18
3698
2
apr 15
8132