Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
9598 Widoki

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?

Awatar
Odrzuć

try to use widget="Html" in xml

widget="html"

Najlepsza odpowiedź

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

   

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
6368
1
mar 15
4022
1
lut 21
13822
0
lut 21
15
4
lip 17
8213