I want to use the dynamic placeholders that you can use in email templates in an email snippet via xml. I already tried {{ object.variable }} like in the templates, but nothing worked. The problem with the t-out is that i get a keyerror on object, when i try to escape the in a t-esc or t-raw i get an error because of the unescaped . When I escape them with < and > i dont get an error but it just shows . When i open the code view i can see that the are still escaped, when i change < to in the UI it accepts it as a dynamic placeholder and it works. My Idea was to find a workaround so i can print an unescaped but i havent found one yet. Does anybody know how i can use the dynamic placeholders for snippets in 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
1198
Vues
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
nov. 21
|
3765 | ||
|
0
juil. 20
|
3647 | ||
|
1
sept. 23
|
2169 | ||
|
1
juil. 25
|
639 | ||
|
5
mai 25
|
18059 |