Odoo Help

Welcome!

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.

0

Problem with mail templates

By
Alejandro
on 2/6/14, 5:58 AM 1,336 views

Hi all,

when I do an invoice and try to send by email, the attachment is empty, the contact is empty and the body of the message is like this :

Hola ${object.partner_id.name},

Tiene una nueva factura disponible:

REFERENCIAS Nº de factura: ${object.number} Total de la factura: ${object.amount_total} ${object.currency_id.name} Fecha de factura: ${object.date_invoice} % if object.origin: Referencia del pedido: ${object.origin} % endif % if object.user_id: Su contacto: ${object.user_id.name} % endif <% set signup_url = object.get_signup_url() %> % if signup_url:

The system don't put the real data.

Open Erp V7 on Centos ( I try with another installation on Windows and the same error )

Regards.

0
mathieu
On 2/6/14, 9:20 PM

Hi, Since il't doesnt look like you got error, check if the module email_template is properly installed.

Checking if the email_template is corrupt I uninstall it, after that, the system uninstall other modules like account, crm, sales modules himself, losing all account data. After that I add a new DB with a few modules, and the problem is similar. for example : Sales order Templates only are charged in the first attempt. The second one and the others, only puts the mail and the attach. There are no text in the body. In the invoice is the same, but in all attempts. The template only put the email and the attach. No text in the body.

Alejandro
on 2/16/14, 7:47 AM
0
Alejandro
On 2/15/14, 9:40 PM

I got this error on three different installations on different servers ( Windows , Centos and Ubuntu ) and the problem is the same in all of them.

The problem was in an accent in the name of the company. It's a bug.

Alejandro
on 2/26/14, 3:50 PM

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

2 follower(s)

Stats

Asked: 2/6/14, 5:58 AM
Seen: 1336 times
Last updated: 3/16/15, 8:10 AM