跳至內容
選單
此問題已被標幟
5075 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 24
1187
1
3月 15
3548
0
5月 22
4606
1
1月 18
3550
2
4月 15
8132