<p>OpenERP tried to run the scheduler <em>${object.name or ''}</em> but it failed. Here is the error message :</p>
<p>OpenERP tried to run the scheduler <em>${object.name or ''}</em>in the database <em>${ctx.get('dbname')}</em>but it failed. Here is the error message :</p>
<strong>
<strong>
${ctx.get('job_exception') and ctx.get('job_exception').value or 'Failed to get the error message from the context.'}
${ctx.get('job_exception') and ctx.get('job_exception').value or 'Failed to get the error message from the context.'}
@ -39,12 +39,12 @@ ${ctx.get('job_exception') and ctx.get('job_exception').value or 'Failed to get
<p>
<p>
-- <br/>
-- <br/>
Automatic e-mail sent by OpenERP. Do not reply.
Automatic e-mail sent by OpenERP. Do not reply.<br/>
Database : ${ctx.get('dbname')}
</p>
</p>
</div>
</div>
]]></field>
]]></field>
</record>
</record>
<!-- TODO : print database name inside the email (we used object._cr.dbname in openerp 6.1, but it's not possible in OpenERP 7 because the executing of jinja2 is sandboxed and private attributes can't be accessed). -->