2013-03-12 00:29:34 +00:00
|
|
|
<?xml version="1.0" encoding='UTF-8'?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2013-06-20 15:07:25 +00:00
|
|
|
<record id="crm_channel_email_template" model="email.template">
|
2013-03-12 00:29:34 +00:00
|
|
|
<field name="name">Lead forward</field>
|
|
|
|
<field name="email_from"></field>
|
|
|
|
<field name="subject">Fwd: Lead: ${object.name}</field>
|
|
|
|
<field name="email_to"></field>
|
|
|
|
<field name="lang"></field>
|
|
|
|
<field name="model_id" ref="crm.model_crm_lead"/>
|
|
|
|
<field name="auto_delete" eval="True"/>
|
|
|
|
<field name="body_html"><![CDATA[
|
|
|
|
Hello ${object.partner_assigned_id.name},
|
|
|
|
<p>
|
2013-03-12 13:10:39 +00:00
|
|
|
Here is a lead that might interest you.
|
2013-03-12 00:29:34 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2013-03-12 13:10:39 +00:00
|
|
|
Please keep me informed about your actions about it so that I can keep an
|
2013-03-12 00:29:34 +00:00
|
|
|
accurate follow-up of it and help you in the sale cycle.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Your account manager,<br/>
|
|
|
|
${object.user_id.name},<br/>
|
|
|
|
${object.user_id.email}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2013-03-12 13:10:39 +00:00
|
|
|
${ctx["mail_body"].replace('\n','<br>') | safe}
|
2013-03-12 00:29:34 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
% if ctx["history_mode"] in ('whole'):
|
|
|
|
% for message in object.message_ids:
|
|
|
|
---- Original Message (${message.date or ''}) ----<br/>
|
|
|
|
${message.body | safe}
|
|
|
|
% endfor
|
|
|
|
% endif
|
|
|
|
% if ctx['history_mode'] == 'latest':
|
|
|
|
---- Original Message (${object.message_ids[0].date or ''}) ----<br/>
|
|
|
|
${object.message_ids[0].body | safe}
|
|
|
|
% endif
|
|
|
|
]]></field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|