Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2559 Visualizações

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
Cancelar
Melhor resposta

Hello

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jun. 25
1856
3
jul. 25
3476
1
mai. 25
1598
1
mai. 25
1842
4
mai. 25
2952