Skip to Content
Menu
This question has been flagged
1 Reply
2551 Views

I want to add functions to the html fields in odoo backend.

In 14 and before, you were able to see the html code when in debug mode and clicking on the > symbol to edit the code.

how can i now add an if statement to the email templates?

Avatar
Discard
Best Answer

Hello

You must add options = "{'codeview': true}" in your xml field declaration "{'codeview': true }"/>

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 25
1786
3
Jul 25
3390
1
May 25
1540
1
May 25
1797
4
May 25
2920