Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2898 Zobrazení

I'm trying to send an email with some conditions to several partners (mass_mail: True). My email template is the next one:

% if object.is_friend:
    Hello my friend.
% else:
    Hello.
% endif

When I click on the preview of the template, I see the result perfectly. In fact, if I send the mail from the form of a partner, he receives the email with the right content.

The problem is when I try to send the mail from the tree view of partners (where mass_mail is True), because the selected partners receive an empty mail.

I updated the branches of addons and server (OpenERP7). But no result in this point. Can anyone help me, please?

Avatar
Zrušit
Nejlepší odpověď

Juan, most likely you have two languages in the system.

If, when editing the html, you click on the translation button, it will take you to the translation panes.

Copy the whole html in your screen and paste it on the left pane of the translation screen. 

This should solve your issue.

Avatar
Zrušit