تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2557 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

Hello

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 25
1841
3
يوليو 25
3452
1
مايو 25
1586
1
مايو 25
1835
4
مايو 25
2945