Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Why the email templates are OK and when I send the email they aren't OK?

Juan Formoso
on 11/20/14, 4:40 AM 703 views

I did a template (Mako) and it has this line:

<a href="http://localhost:30070/invitation-response?var1=${object.encripted_url}&var2=yes">I'll go</a>

When I click on the preview, it looks great, I click on the link and it redirects me where I want to go:


However, if I load this template to send the email, I receive this link:


And I have other problems too:

<% set variable = 'Hello friend' %>

If I click on preview, I can see Hello friend, but when I send the email, I get a blank line.

Did anyone experience this problem? Any help would be very appreciated. Thank you in advance.


I was checking more and more and I'm getting the wrong emails only when the composition_mode is 'mass_mail'. If I send the email to a unique person, the result is OK. Can anyone tell me why, please?

On 11/21/14, 9:45 AM

You can try updating the branch through bazaar or git to the last version (it depends on what you use) :)

Thank you @devel! I'm using bazaar, and I've just updated the whole ocb-addons branch (bzr pull), but still same result.

Juan Formoso
on 11/21/14, 10:04 AM

You must update the ocb-server branch as well! greetings

on 11/21/14, 10:10 AM

Now it works!!!! ¡¡¡¡Mil gracias!!!!

Juan Formoso
on 11/21/14, 10:15 AM
Pierre Lamarche
On 11/20/14, 2:36 PM

Just a thought but have you checked the translation of your template in the language (traduction) of the partner for who you are generating this template ?


Hello Pierre, any thought is welcome! Unfortunately, I don't understand what do you mean. Can you explain it more detailed, please?

Juan Formoso
on 11/21/14, 3:32 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/20/14, 4:40 AM
Seen: 703 times
Last updated: 3/16/15, 8:10 AM