Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2567 Näkymät

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
Hylkää
Paras vastaus

Hello

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 25
1871
3
heinäk. 25
3480
1
toukok. 25
1605
1
toukok. 25
1850
4
toukok. 25
2962