Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2543 Vistas

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
Descartar
Mejor respuesta

Hello

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 25
1777
3
jul 25
3381
1
may 25
1528
1
may 25
1785
4
may 25
2919