<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>
${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>
-- <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>
</div>
]]></field>
</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). -->