1. The merge of the "email_template" module into the "mail" module. 2. The send action of the mass mailing has been moved from the frontend to a cron, because it was too slow to send over 10,000 mails (the user's browser was blocked for 15 - 20 minutes). Mass mailings have now their own process in the kanban view. 3. Mails sent from the mail form are sent immediatly instead of from the mail queue (for instance, when you go to sales > customers > list view > select 2 -3 customers > More > Partner Mass Mailing). 4. Users have now the choice from which mailing list they want to unsubscribe when they click on the unsubscribe link at the bottom of the mail. 5. Mass mailings inherit from their campaign UTMs and mass mailing campaigns are linked to an UTM campaign. 6. Many little improvements
50 lines
2.8 KiB
XML
50 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="event_subscription" model="mail.template">
|
|
<field name="name">Event subscription</field>
|
|
<field name="model_id" ref="event.model_event_registration"/>
|
|
<field name="email_from">${(object.event_id.organizer_id.email or object.event_id.user_id.email or '')|safe}</field>
|
|
<field name="email_to" >${object.email|safe}</field>
|
|
<field name="subject">Your subscription at ${object.event_id.name}</field>
|
|
<field name="body_html"><![CDATA[<p>Hello ${object.name},</p>
|
|
<p>We confirm that your subscription to the event ${object.event_id.name} has been recorded.
|
|
You will automatically receive an email providing you more practical information (such as the schedule, the agenda...) as soon as the event is confirmed.</p>
|
|
<p>Thank you for your participation!</p>
|
|
<p>Best regards</p>]]></field>
|
|
</record>
|
|
|
|
<record id="event_reminder" model="mail.template">
|
|
<field name="name">Event: reminder</field>
|
|
<field name="model_id" ref="event.model_event_registration"/>
|
|
<field name="email_from">${(object.event_id.organizer_id.email or object.event_id.user_id.email or '')|safe}</field>
|
|
<field name="email_to" >${object.partner_id.email or object.email|safe}</field>
|
|
<field name="subject">Reminder of event ${object.event_id.name}</field>
|
|
<field name="body_html"><![CDATA[<p>Hello ${object.name},</p>
|
|
<p>This is a reminder for ${object.event_id.name} that you registered for is confirmed and will be held from ${object.event_id.date_begin_located} to ${object.event_id.date_end_located}.
|
|
For any further information please contact our event department.</p>
|
|
<p>Thank you for your participation!</p>
|
|
<p>Best regards</p>]]></field>
|
|
</record>
|
|
|
|
<record id="event_thanks" model="mail.template">
|
|
<field name="name">Event: thanks for attending</field>
|
|
<field name="model_id" ref="event.model_event_registration"/>
|
|
<field name="email_from">${(object.event_id.organizer_id.email or object.event_id.user_id.email or '')|safe}</field>
|
|
<field name="email_to" >${object.partner_id.email or object.email|safe}</field>
|
|
<field name="subject">Thanks for attending ${object.event_id.name}</field>
|
|
<field name="body_html"><![CDATA[<p>Hello ${object.name},</p>
|
|
<p>We would like to thank you for your presence at our event ${object.event_id.name}.
|
|
<br/><br/>
|
|
% if object.event_id.organizer_id and object.event_id.organizer_id.is_company:
|
|
<strong>The ${object.event_id.organizer_id.name} Team</strong>
|
|
% elif object.event_id.organizer_id:
|
|
<strong>${object.event_id.organizer_id.name}</strong>
|
|
% endif
|
|
</p>]]></field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|