Community mailing list archives

community@mail.odoo.com

Re: Error rendering email template jinja2 or mako is used ?

by
komsas
- 08/01/2014 14:12:15

Hi,

Check the email_template addon, there is comment about jinja2 and its sanbox.

Paulius

Hi to all, i am working on this in 7.0 so i load my template, its so simple

<p>${', '.join([e.name for e in object.exams]) }<p>

in that line i get this error https://gist.github.com/ovnicraft/6725faa2700af8541844

AFAIK mako is used to render mails why is jinja2 in my traceback ?

Any hints around ?

Regards,

--
 
Cristian Salamea on about.me
 
Cristian Salamea
 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe