You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
3.0 KiB
74 lines
3.0 KiB
<odoo>
|
|
<!-- Email template for sending attached ics files having respective event details of each attendee -->
|
|
<record id="odoo_icalendar_email_template" model="mail.template">
|
|
<field name="name">odoo icalendar: Send by email</field>
|
|
<field name="model_id" ref="odoo_icalendar.model_calendar_event"/>
|
|
<field name="email_from">{{user.email}}</field>
|
|
<field name="subject">Scheduled Meetings</field>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: Arial, sans-serif; font-size: 14px;">
|
|
<p style="margin: 0; padding: 0;">
|
|
<strong>Hello,</strong>
|
|
</p>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">You have meetings scheduled.
|
|
Please find the attached ICS file for details.
|
|
</p>
|
|
<br/>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">Thank you.</p>
|
|
<br/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
<!-- Email template for sending ics files to attendees of each event-->
|
|
<record id="event_ics_email_template" model="mail.template">
|
|
<field name="name">Event ICS</field>
|
|
<field name="model_id" ref="odoo_icalendar.model_calendar_event"/>
|
|
<field name="email_from">{{user.email}}</field>
|
|
<field name="subject">{{object.name}}: Event details</field>
|
|
<field name="body_html" type="html">
|
|
<div style="font-family: Arial, sans-serif; font-size: 14px;">
|
|
<p style="margin: 0; padding: 0;">
|
|
<strong>Hello,</strong>
|
|
</p>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">You are invited to the
|
|
following event:
|
|
</p>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">
|
|
<strong>Event Details:</strong>
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<strong>Summary:</strong>
|
|
<t t-out="object.name"/>
|
|
</li>
|
|
<li>
|
|
<strong>Date and Time:</strong>
|
|
<t t-out="object.start"/>
|
|
to
|
|
<t t-out="object.stop"/>
|
|
</li>
|
|
<li>
|
|
<strong>Location:</strong>
|
|
<t t-out="object.location"/>
|
|
</li>
|
|
<li>
|
|
<strong>Description:</strong>
|
|
<t t-out="object.description"/>
|
|
</li>
|
|
</ul>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">Please find the attached ICS
|
|
file for more information.
|
|
</p>
|
|
<br/>
|
|
<br/>
|
|
<p style="margin: 0; padding: 0;">Thank you.</p>
|
|
<br/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|