İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7571 Görünümler

I want to understand what is t-esc in odoo xml?

Avatar
Vazgeç
En İyi Yanıt

Hi,

t-esc is used to print out the value in a variable.

Thanks

Avatar
Vazgeç
Üretici

Thanks

En İyi Yanıt

Hi Asmaa,

The t-esc directive is used in Odoo to display the value of a field or expression in a template.

When using the t-esc directive in Odoo XML, the value of the field or expression will be automatically escaped before being displayed in the template. This means that certain characters in the value that have special meaning in HTML, such as , &, ", and ', will be replaced with their corresponding HTML entities.


Documentation:
https://www.odoo.com/documentation/14.0/developer/reference/javascript/qweb.html


Hope it Helps,

Kiran K

Avatar
Vazgeç
Üretici

Thanks

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 25
2345
1
Tem 25
862
1
Ağu 25
1150
0
May 25
1322
2
Nis 25
3521