2012-01-25 10:37:20 +00:00
<?xml version="1.0"?>
<openerp >
2012-02-13 09:03:56 +00:00
<data >
2012-01-25 10:37:20 +00:00
<record id= "confirmation_event" model= "email.template" >
2012-02-24 16:41:31 +00:00
<field name= "name" > Confirmation of the Event</field>
2012-02-13 09:03:56 +00:00
<field name= "model_id" ref= "event.model_event_registration" />
2012-08-10 14:43:39 +00:00
<field name= "email_from" > ${object.user_id.email or object.company_id.email or 'noreply@' + object.company_id.name + '.com'}</field>
2012-02-28 11:58:44 +00:00
<field name= "email_to" > ${object.email}</field>
2012-02-28 18:00:11 +00:00
<field name= "subject" > Your registration at ${object.event_id.name}</field>
2012-09-04 13:28:03 +00:00
<field name= "body_html" > < ![CDATA[
<p > Hello ${object.name},</p>
<p > The event ${object.event_id.name} that you registered for is confirmed and will be held from ${object.event_id.date_begin} to ${object.event_id.date_end}.
For any further information please contact our event department.</p>
<p > Thank you for your participation!</p>
<p > Best regards</p> ]]></field>
2012-01-25 10:37:20 +00:00
</record>
2012-02-13 09:03:56 +00:00
2012-01-25 10:37:20 +00:00
</data>
2012-02-13 09:03:56 +00:00
<data >
2012-01-25 10:37:20 +00:00
<record id= "confirmation_registration" model= "email.template" >
2012-02-24 16:41:31 +00:00
<field name= "name" > Confirmation of the Registration</field>
2012-02-13 09:03:56 +00:00
<field name= "model_id" ref= "event.model_event_registration" />
2012-08-10 14:43:39 +00:00
<field name= "email_from" > ${object.user_id.email or object.company_id.email or 'noreply@' + object.company_id.name + '.com'}</field>
2012-02-28 11:58:44 +00:00
<field name= "email_to" > ${object.email}</field>
2012-02-28 18:00:11 +00:00
<field name= "subject" > Your registration at ${object.event_id.name}</field>
2012-09-04 13:28:03 +00:00
<field name= "body_html" > < ![CDATA[
<p > Hello ${object.name},</p>
<p > We confirm that your registration 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>
2012-01-25 10:37:20 +00:00
</record>
2012-02-13 09:03:56 +00:00
2012-02-28 18:00:11 +00:00
<!-- Default Values -->
<record model= "ir.values" id= "default_value_event_mail_confirmation" >
<field name= "name" > default_email_event</field>
<field name= "key" > default</field>
<field name= "key2" > </field>
<field eval= "ref('confirmation_event')" name= "value_unpickle" />
<field name= "model" > event.type</field>
</record>
<record model= "ir.values" id= "default_value_registration_mail_confirmation" >
<field name= "name" > default_email_registration</field>
<field name= "key" > default</field>
<field name= "key2" > </field>
<field eval= "ref('confirmation_registration')" name= "value_unpickle" />
<field name= "model" > event.type</field>
</record>
2012-01-25 10:37:20 +00:00
</data>
</openerp>