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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
3
Respostes
9566
Vistes
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
de març 15
|
6352 | ||
|
1
de març 15
|
3998 | ||
|
1
de febr. 21
|
13796 | ||
|
0
de febr. 21
|
15 | ||
Convert Value in Positive?
Solved
|
|
4
de jul. 17
|
8183 |
try to use widget="Html" in xml
widget="html"