Community mailing list archives
Re: Error rendering email template jinja2 or mako is used ?by
If still crying you could grab this addon https://bitbucket.org/hacbee/email_template_i18n, is not perfect, but works.
On Tue, Aug 5, 2014 at 9:53 PM, Mario Arias <firstname.lastname@example.org> wrote:Hi Cristian,When using email templates, it is easier to compute your values before rendering the template, and then passing the results in the context.Inside the template, you reference them using ctx...Yes, i am using ctx to solve all, thanks for your hint !, ( after all still crying by formatLang lolol )Regards !You can check out account_analytic_analysis_cron.xml for a sample...Regards,-MarioOn Tue, Aug 5, 2014 at 8:24 PM, Ovnicraft <email@example.com> wrote:On Fri, Aug 1, 2014 at 1:18 PM, firstname.lastname@example.org <email@example.com> wrote:
Check the email_template addon, there is comment about jinja2 and its sanbox.BTW its hard to cant call formatLang() for date and float type fields.Regards,
AYNI CONSULTORES 1792538289001