[REM] crm: remove unnecessary mail template data
This template was linked to an old automated rule used as a demo sending an email to old opportunities. The demo automated rule has been removed since. Moreover there is already a mail template used for mass mailing in crm. No need to have unnecessary data especially it is not linked to any business flow. This commit is linked to task ID 1841503 (and 1868112) and to PR #25388 (and #25889).
This commit is contained in:
committed by
Thibault Delavallée
parent
d8496aea2e
commit
298904f1d9
@@ -71,22 +71,6 @@
|
||||
<field name="email_to">${(not object.partner_id and object.email_from)|safe}</field>
|
||||
<field name="body_html"></field>
|
||||
</record>
|
||||
<record id="email_template_opportunity_reminder_mail" model="mail.template">
|
||||
<field name="name">Lead: Reminder</field>
|
||||
<field name="model_id" ref="crm.model_crm_lead"/>
|
||||
<field name="auto_delete" eval="True"/>
|
||||
<field name="email_from">admin@example.com</field>
|
||||
<field name="email_to">${(object.user_id != False and object.user_id.email)|safe}</field>
|
||||
<field name="subject">Reminder: Lead ${object.name} from ${object.partner_id != False and object.partner_id.name or object.contact_name}</field>
|
||||
<field name="body_html"><![CDATA[
|
||||
<p>Hello ${object.user_id and object.user_id.name or ''},</p>
|
||||
<p>The opportunity <strong>${object.name}</strong> did not have any activity since at least 5 days.</p>
|
||||
%if object.description:
|
||||
<p>Here is the description about the opportunity : </p><p><i>${object.description}</i>
|
||||
%endif
|
||||
</p><p>Thank you!</p>
|
||||
]]></field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user