Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2539 Visualizzazioni

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
Abbandona
Risposta migliore

Hello

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 25
1773
3
lug 25
3378
1
mag 25
1526
1
mag 25
1778
4
mag 25
2914