43 lines
1.7 KiB
XML
43 lines
1.7 KiB
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="confirmation_event" model="email.template">
|
|
<field name="name">confirmation the event</field>
|
|
<field name="model_id" ref="event.model_event_registration"/>
|
|
<field name="email_from" >${object.user_id.user_email or object.company_id.email or 'noreply@localhost'}</field>
|
|
<field name="email_to" >${object.email_from}</field>
|
|
<field name="subject">Ticket for ${object.event_id.name}</field>
|
|
<field name="body_text">
|
|
hello ${object.contact_id.name},
|
|
|
|
The event ${object.event_id.name} that you registered from 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.
|
|
|
|
we thank you for your participation
|
|
|
|
best regards
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
<data>
|
|
|
|
<record id="confirmation_registration" model="email.template">
|
|
<field name="name">confirmation the registration</field>
|
|
<field name="model_id" ref="event.model_event_registration"/>
|
|
<field name="email_from" >${object.user_id.user_email or object.company_id.email or 'noreply@localhost'}</field>
|
|
<field name="email_to" >${object.email_from}</field>
|
|
<field name="subject">Ticket for ${object.event_id.name}</field>
|
|
<field name="body_text">
|
|
hello ${object.contact_id.name},
|
|
|
|
We confirm your registration to the event ${object.event_id.name} to be held from ${object.event_id.date_begin} to ${object.event_id.date_end}
|
|
|
|
we thank you for your participation
|
|
|
|
best regards
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|