4 <record id="confirmation_event" model="email.template">
5 <field name="name">Confirmation of the Event</field>
6 <field name="model_id" ref="event.model_event_registration"/>
7 <field name="email_from" >${object.user_id.email or object.company_id.email or 'noreply@' + object.company_id.name + '.com'}</field>
8 <field name="email_to" >${object.email}</field>
9 <field name="subject">Your registration at ${object.event_id.name}</field>
13 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.
15 we thank you for your participation
24 <record id="confirmation_registration" model="email.template">
25 <field name="name">Confirmation of the Registration</field>
26 <field name="model_id" ref="event.model_event_registration"/>
27 <field name="email_from" >${object.user_id.email or object.company_id.email or 'noreply@' + object.company_id.name + '.com'}</field>
28 <field name="email_to" >${object.email}</field>
29 <field name="subject">Your registration at ${object.event_id.name}</field>
33 We confirm you 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 plan...) as soon as the event will be confirmed to be held.
35 we thank you for your participation
41 <!-- Default Values -->
42 <record model="ir.values" id="default_value_event_mail_confirmation">
43 <field name="name">default_email_event</field>
44 <field name="key">default</field>
45 <field name="key2"></field>
46 <field eval="ref('confirmation_event')" name="value_unpickle"/>
47 <field name="model">event.type</field>
49 <record model="ir.values" id="default_value_registration_mail_confirmation">
50 <field name="name">default_email_registration</field>
51 <field name="key">default</field>
52 <field name="key2"></field>
53 <field eval="ref('confirmation_registration')" name="value_unpickle"/>
54 <field name="model">event.type</field>