Hi, I have added a new field in Purchase Order form. This field is a function type field which generates and returns HTML. When I placed this field in Purchase Order form view, the HTML is not rendering. Rather its showing the HTML as output. How can we show the rendered HTML?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
3
Replies
9557
Tampilan
Hello sajjad,
Take a field of type text,
body_html = fields.Html(string='Html')
then in form view
<field name="body_html" widget="html"/>
And also you take reference from payment Acquirer
Please refer the link,
https://prnt.sc/suvh5l
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Mar 15
|
6337 | ||
|
1
Mar 15
|
3982 | ||
Hide a fields when part of a group
Diselesaikan
|
|
1
Feb 21
|
13786 | |
|
0
Feb 21
|
15 | ||
Convert Value in Positive?
Diselesaikan
|
|
4
Jul 17
|
8175 |
try to use widget="Html" in xml
widget="html"