跳至內容
選單
此問題已被標幟
1 回覆
4001 瀏覽次數

Hello,

at the moment i try to configure my email templates for openerp. tried to manipulate date with the help of mako.

Could it be, that the standard email_template in openerp7 doesn't support Mako anymore? Or i have to install additional modules? When i write <% xxx %> also without any content, the mail contetn isn't seen anymore in preview

頭像
捨棄
作者 最佳答案

Now i changed from Mako to Jinja2 and debug email_template from openERP. Debugging show, that it is always read by jinja2 "module". Soe there is no Mako in OpenERP 7 anymore? And i had to mix Mako and Jinja2. Hd to use <% and %> from Mako and Block content had to be Jinja2? Is there any knowledge about?

頭像
捨棄