Hi everybody,
my odoo 17 use the wrong email template for my subscription mails. How can i solve this issue?
Thanks and BR
Rafael
Picture 1: Desired E-Mail Template:
Picture 2: The reality
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi everybody,
my odoo 17 use the wrong email template for my subscription mails. How can i solve this issue?
Thanks and BR
Rafael
Picture 1: Desired E-Mail Template:
Picture 2: The reality
Hi,
Go to Settings > Technical > Email > Templates.
Search and open the email template used for subscription or recurring invoice emails.
In the Subject field, replace ${....} with {{....}} for proper rendering.
Example: use {{ format_date(object.create_date, 'MMMM') }} instead of ${....}.
In the Body (HTML) section, do not use {{...}} or ${...}.
Instead, use QWeb syntax like <t t-out="object.partner_id.name"/>.
Replace all dynamic fields in the body using <t t-out="..."/>.
Save the email template after making these changes.
Send a test email or preview to confirm the correct output.
The email will now show the actual values (like customer name and date) instead of raw template code.
Hope it helps.