Hello,
I want to use server actions to send mail in different steps of a workflow.
I can send mail, however impossible to change the format of date of to translate the terms in the mail.
For instance in my mail if I try to use:
[[ formatLang(object.date_from,date=True) ]]
I get this error:
openerp.tools.safe_eval: Cannot eval 'formatLang(object.date_from,date=True)'
Same problem if I try to use:
[[ _(object.employee_id.name) ]]
Do someone find a solution to format mail or translate terms in server actions?
Thanks by advance for your help.
I would expect a syntax more like this: Date: ${formatLang(object.date_order,date=True)}<br />. Nevertheless, it doesn't work on my side too