Hello, I'm having difficulties with e-mail templates.
I tried to follow this tutorial:
https://www.odoo.com/documentation/15.0/applications/productivity/discuss/advanced/email_template.html?highlight=templates
I used the dynamic placeholder generator and copied the generated placeholder expressions into the body of the email. When I tested it afterwards, the mail again showed the generated placeholder expressions instead of the desired outcome.
Does anybody know where to find a more detailed documentation/tutorial on this?
I found a way to solve the issue.
I am creating an email template from the email template menu accessible in developer mode.
There I can switch the editor to see the actual code behind the template.
From the code, I can replace the placeholders by their Web content.
My example : this si the code to get the name of the object contact :
<t t-out="object.name" data-oe-t-inline="true" style="box-sizing:border-box;" contenteditable="false"> </t>
There is a video that explains all this :
https://www.youtube.com/watch?v=VQJodqSE5DM
Hope it helps you to get it done !
Bonjour,
Je suis actuellement en congés avec un accès limité à ma messagerie. Je répondrai à votre message dès mon retour le 27/02