Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2546 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
1780
3
jul 25
3384
1
may 25
1532
1
may 25
1790
4
may 25
2919