I want to understand what is t-esc in odoo xml?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
t-esc is used to print out the value in a variable.
Thanks
Thanks
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
Thanks
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
août 25
|
2210 | ||
|
1
juil. 25
|
752 | ||
|
1
août 25
|
1150 | ||
|
0
mai 25
|
1260 | ||
|
2
avr. 25
|
3448 |