2010-01-22 07:33:05 +00:00
<?xml version="1.0"?>
<openerp >
2012-06-28 06:40:05 +00:00
<data noupdate= "1" >
2013-11-24 13:02:41 +00:00
<!-- Expense - related subtypes for messaging / Chatter -->
2013-12-19 14:47:39 +00:00
<record id= "calendar.subtype_invitation" model= "mail.message.subtype" >
2013-11-24 13:02:41 +00:00
<field name= "name" > Invitation</field>
2014-01-15 09:38:05 +00:00
<field name= "res_model" > calendar.event</field>
2013-11-26 11:45:02 +00:00
<field name= "description" > Warning, a mandatory field has been modified since the creation of this event</field>
<field name= "default" eval= "False" />
2013-11-24 13:02:41 +00:00
</record>
2013-11-23 11:36:27 +00:00
<record model= "calendar.alarm" id= "alarm_notif_1" >
<field name= "name" > 15 min notif</field>
<field name= "duration" eval= "15" />
<field name= "interval" > minutes</field>
2013-12-02 14:31:33 +00:00
<field name= "type" > notification</field>
2013-11-23 11:36:27 +00:00
</record>
<record model= "calendar.alarm" id= "alarm_notif_2" >
<field name= "name" > 30 min notif</field>
<field name= "duration" eval= "30" />
<field name= "interval" > minutes</field>
<field name= "type" > notification</field>
</record>
<record model= "calendar.alarm" id= "alarm_notif_3" >
<field name= "name" > 1 hour notif</field>
<field name= "duration" eval= "1" />
<field name= "interval" > hours</field>
<field name= "type" > notification</field>
</record>
<record model= "calendar.alarm" id= "alarm_notif_4" >
<field name= "name" > 2 hours notif</field>
<field name= "duration" eval= "2" />
<field name= "interval" > hours</field>
<field name= "type" > notification</field>
</record>
<record model= "calendar.alarm" id= "alarm_notif_5" >
<field name= "name" > 1 day notif</field>
<field name= "duration" eval= "1" />
<field name= "interval" > days</field>
<field name= "type" > notification</field>
</record>
2015-02-12 09:32:45 +00:00
<record model= "calendar.alarm" id= "alarm_mail_1" >
<field name= "name" > 2~3 hours mail</field>
<field name= "duration" eval= "3" />
2013-11-23 11:36:27 +00:00
<field name= "interval" > hours</field>
<field name= "type" > email</field>
</record>
2015-02-12 09:32:45 +00:00
<record model= "calendar.alarm" id= "alarm_mail_2" >
<field name= "name" > 5~6 hours mail</field>
<field name= "duration" eval= "6" />
2013-11-23 11:36:27 +00:00
<field name= "interval" > hours</field>
<field name= "type" > email</field>
</record>
2014-06-12 13:08:33 +00:00
2014-01-15 09:38:05 +00:00
<record model= "calendar.event.type" id= "categ_meet1" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Customer Meeting</field>
</record>
2014-01-15 09:38:05 +00:00
<record model= "calendar.event.type" id= "categ_meet2" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Internal Meeting</field>
</record>
2014-01-15 09:38:05 +00:00
<record model= "calendar.event.type" id= "categ_meet3" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Off-site Meeting</field>
</record>
2014-01-15 09:38:05 +00:00
<record model= "calendar.event.type" id= "categ_meet4" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Open Discussion</field>
</record>
2014-01-15 09:38:05 +00:00
<record model= "calendar.event.type" id= "categ_meet5" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Feedback Meeting</field>
</record>
2014-01-10 17:09:12 +00:00
<record id= "calendar_template_meeting_invitation" model= "email.template" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Meeting Invitation</field>
2013-12-19 13:33:16 +00:00
<field name= "email_from" > ${object.event_id.user_id.email or ''}</field>
<field name= "subject" > ${object.event_id.name}</field>
2013-12-19 14:47:39 +00:00
<field name= "model_id" ref= "calendar.model_calendar_attendee" />
2013-11-23 11:36:27 +00:00
2013-12-19 13:33:16 +00:00
<field name= "email_to" > ${('' if object.partner_id and object.partner_id.email and object.partner_id.email==object.email else object.email|safe)}</field>
2013-12-20 14:42:30 +00:00
<field name= "partner_to" > ${object.partner_id and object.partner_id.email and object.partner_id.email==object.email and object.partner_id.id or False }</field>
2013-11-23 11:36:27 +00:00
<field name= "auto_delete" eval= "True" />
2013-12-19 13:33:16 +00:00
2013-11-23 11:36:27 +00:00
<field name= "body_html" > < ![CDATA[
<html >
<head >
<meta http-equiv= "Content-type" content= "text/html; charset=utf-8" />
2013-12-19 13:33:16 +00:00
<title > ${object.event_id.name}</title>
<style >
span.oe_mail_footer_access {
display:block;
text-align:center;
color:grey;
}
</style>
2013-11-23 11:36:27 +00:00
</head>
<body >
<div style= "border-radius: 2px; max-width: 1200px; height: auto;margin-left: auto;margin-right: auto;background-color:#f9f9f9;" >
<div style= "height:auto;text-align: center;font-size : 30px;color: #8A89BA;" >
2013-12-19 13:33:16 +00:00
<strong > ${object.event_id.name}</strong>
2013-11-23 11:36:27 +00:00
</div>
<div style= "height: 50px;text-align: left;font-size : 14px;border-collapse: separate;margin-top:10px" >
2014-03-11 08:10:25 +00:00
<strong style= "margin-left:12px" > Dear ${object.cn}</strong> ,<br /> <p style= "margin-left:12px" > ${object.event_id.user_id.partner_id.name} invited you for the ${object.event_id.name} meeting of ${object.event_id.user_id.company_id.name}.</p>
2013-11-23 11:36:27 +00:00
</div>
<div style= "height: auto;margin-left:12px;margin-top:30px;" >
<table >
<tr >
<td >
2015-04-02 11:34:33 +00:00
<div style= "border-top-left-radius:3px;border-top-right-radius:3px;font-size:12px;border-collapse:separate;text-align:center;font-weight:bold;color:#ffffff;width:130px;min-height: 18px;border-color:#ffffff;background:#8a89ba;padding-top: 4px;" > ${object.event_id.get_interval(object.event_id.start, 'dayname', tz=object.partner_id.tz)}</div>
2013-11-23 11:36:27 +00:00
<div style= "font-size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F;background-color: #E1E2F8;width: 130px;" >
2015-04-02 11:34:33 +00:00
${object.event_id.get_interval(object.event_id.start,'day', tz=object.partner_id.tz)}
2013-11-23 11:36:27 +00:00
</div>
2015-04-02 11:34:33 +00:00
<div style= 'font-size:12px;text-align:center;font-weight:bold;color:#ffffff;background-color:#8a89ba' > ${object.event_id.get_interval(object.event_id.start, 'month', tz=object.partner_id.tz)}</div>
2014-05-05 15:42:46 +00:00
<div style= "border-collapse:separate;color:#8a89ba;text-align:center;width: 128px;font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px solid;border-bottom-left-radius:3px;" > ${not object.event_id.allday and object.event_id.get_interval(object.event_id.start, 'time', tz=object.partner_id.tz) or ''}</div>
2013-11-23 11:36:27 +00:00
</td>
<td >
<table cellspacing= "0" cellpadding= "0" border= "0" style= "margin-top: 15px; margin-left: 10px;font-size: 16px;" >
2014-02-28 14:00:53 +00:00
<tr >
2013-11-23 11:36:27 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.location:
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Where
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:top;" >
% if object.event_id.location:
<div style = "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 14px" >
: ${object.event_id.location}
<span style= "color:#A9A9A9; " > (<a href= "http://maps.google.com/maps?oi=map&q=${object.event_id.location}" > View Map</a> )
</span>
</div>
% endif
</td>
2013-12-19 13:33:16 +00:00
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-11-23 11:36:27 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.description :
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
What
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:text-top;" >
% if object.event_id.description :
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${object.event_id.description}
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-12-19 13:33:16 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "height:auto; width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Duration
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
<td colspan= "3" style= "vertical-align:text-top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
2014-02-28 14:00:53 +00:00
</tr>
2013-11-23 11:36:27 +00:00
<tr style= " height: 30px;" >
<td style= "height: 25px;width: 120px; background : # CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
<div >
Attendees
</div>
</td>
<td colspan= "3" >
2013-12-19 13:33:16 +00:00
:
% for attendee in object.event_id.attendee_ids:
2014-04-14 14:47:54 +00:00
<div style= "display:inline-block; border-radius: 50%; width:10px; height:10px;background:${'color' in ctx and ctx['color'][attendee.state] or 'white'};" > </div>
2013-12-19 13:33:16 +00:00
% if attendee.cn != object.cn:
<span style= "margin-left:5px" > ${attendee.cn}</span>
% else:
<span style= "margin-left:5px" > You</span>
2013-11-23 11:36:27 +00:00
% endif
% endfor
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
2013-12-19 13:33:16 +00:00
<div style= "height: auto;width:450px; margin:0 auto;padding-top:20px;padding-bottom:40px;" >
2014-04-03 09:23:55 +00:00
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#8A89BA;margin : 0 15px 0 0;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > Accept</a>
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#808080;margin : 0 15px 0 0;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or '' }&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > Decline</a>
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#D8D8D8;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > View</a>
2013-12-19 13:33:16 +00:00
</div>
2013-11-23 11:36:27 +00:00
</div>
</body>
</html>
2013-12-19 13:33:16 +00:00
]]>
</field>
2013-11-23 11:36:27 +00:00
</record>
2014-01-10 17:09:12 +00:00
<record id= "calendar_template_meeting_changedate" model= "email.template" >
2013-12-19 13:33:16 +00:00
<field name= "name" > Meeting Invitation</field>
<field name= "email_from" > ${object.event_id.user_id.email or ''}</field>
<field name= "subject" > ${object.event_id.name} - Date has been updated</field>
2013-12-19 14:47:39 +00:00
<field name= "model_id" ref= "calendar.model_calendar_attendee" />
2013-11-26 18:01:06 +00:00
2013-12-19 13:33:16 +00:00
<field name= "email_to" > ${('' if object.partner_id and object.partner_id.email and object.partner_id.email==object.email else object.email|safe)}</field>
2013-12-20 14:42:30 +00:00
<field name= "partner_to" > ${object.partner_id and object.partner_id.email and object.partner_id.email==object.email and object.partner_id.id or False }</field>
2013-11-26 18:01:06 +00:00
<field name= "auto_delete" eval= "True" />
2013-12-19 13:33:16 +00:00
<field name= "body_html" > < ![CDATA[
2013-11-26 18:01:06 +00:00
<html >
<head >
<meta http-equiv= "Content-type" content= "text/html; charset=utf-8" />
2013-12-19 13:33:16 +00:00
<title > ${object.event_id.name}</title>
<style >
span.oe_mail_footer_access {
display:block;
text-align:center;
color:grey;
}
</style>
2013-11-26 18:01:06 +00:00
</head>
<body >
<div style= "border-radius: 2px; max-width: 1200px; height: auto;margin-left: auto;margin-right: auto;background-color:#f9f9f9;" >
<div style= "height:auto;text-align: center;font-size : 30px;color: #8A89BA;" >
2013-12-19 13:33:16 +00:00
<strong > ${object.event_id.name}</strong>
2013-11-26 18:01:06 +00:00
</div>
<div style= "height: 50px;text-align: left;font-size : 14px;border-collapse: separate;margin-top:10px" >
2014-03-11 08:10:25 +00:00
<strong style= "margin-left:12px" > Dear ${object.cn}</strong> ,<br />
2013-12-19 13:33:16 +00:00
<p style= "margin-left:12px" > The date of the meeting has been changed...<br />
2014-05-05 10:46:11 +00:00
The meeting created by ${object.event_id.user_id.partner_id.name} is now scheduled for : ${object.event_id.get_display_time_tz(tz=object.partner_id.tz)}.</p>
2013-11-26 18:01:06 +00:00
</div>
<div style= "height: auto;margin-left:12px;margin-top:30px;" >
<table >
2014-02-28 14:00:53 +00:00
<tr >
2013-11-26 18:01:06 +00:00
<td >
2015-04-02 11:34:33 +00:00
<div style= "border-top-left-radius:3px;border-top-right-radius:3px;font-size:12px;border-collapse:separate;text-align:center;font-weight:bold;color:#ffffff;width:130px;min-height: 18px;border-color:#ffffff;background:#8a89ba;padding-top: 4px;" > ${object.event_id.get_interval(object.event_id.start, 'dayname', tz=object.partner_id.tz)}</div>
2013-11-26 18:01:06 +00:00
<div style= "font-size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F;background-color: #E1E2F8;width: 130px;" >
2015-04-02 11:34:33 +00:00
${object.event_id.get_interval(object.event_id.start,'day', tz=object.partner_id.tz)}
2013-11-26 18:01:06 +00:00
</div>
2015-04-02 11:34:33 +00:00
<div style= 'font-size:12px;text-align:center;font-weight:bold;color:#ffffff;background-color:#8a89ba' > ${object.event_id.get_interval(object.event_id.start, 'month', tz=object.partner_id.tz)}</div>
2014-05-05 15:42:46 +00:00
<div style= "border-collapse:separate;color:#8a89ba;text-align:center;width: 128px;font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px solid;border-bottom-left-radius:3px;" > ${not object.event_id.allday and object.event_id.get_interval(object.event_id.start, 'time', tz=object.partner_id.tz) or ''}</div>
2013-11-26 18:01:06 +00:00
</td>
<td >
<table cellspacing= "0" cellpadding= "0" border= "0" style= "margin-top: 15px; margin-left: 10px;font-size: 16px;" >
2014-02-28 14:00:53 +00:00
<tr >
2013-11-26 18:01:06 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.location:
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Where
</div>
% endif
2013-11-26 18:01:06 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:top;" >
% if object.event_id.location:
<div style = "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 14px" >
: ${object.event_id.location}
<span style= "color:#A9A9A9; " > (<a href= "http://maps.google.com/maps?oi=map&q=${object.event_id.location}" > View Map</a> )
</span>
</div>
% endif
</td>
2013-12-19 13:33:16 +00:00
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-11-26 18:01:06 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.description :
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
What
</div>
% endif
2013-11-26 18:01:06 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:text-top;" >
% if object.event_id.description :
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${object.event_id.description}
</div>
% endif
2013-11-26 18:01:06 +00:00
</td>
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-12-19 13:33:16 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "height:auto; width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Duration
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
<td colspan= "3" style= "vertical-align:text-top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
2014-02-28 14:00:53 +00:00
</tr>
2013-11-26 18:01:06 +00:00
<tr style= " height: 30px;" >
<td style= "height: 25px;width: 120px; background : # CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
<div >
Attendees
</div>
</td>
<td colspan= "3" >
2013-12-19 13:33:16 +00:00
:
% for attendee in object.event_id.attendee_ids:
2014-04-14 14:47:54 +00:00
<div style= "display:inline-block; border-radius: 50%; width:10px; height:10px;background:${'color' in ctx and ctx['color'][attendee.state] or 'white'};" > </div>
2013-12-19 13:33:16 +00:00
% if attendee.cn != object.cn:
<span style= "margin-left:5px" > ${attendee.cn}</span>
% else:
<span style= "margin-left:5px" > You</span>
2013-11-26 18:01:06 +00:00
% endif
% endfor
</td>
</tr>
</table>
</td>
</tr>
2014-02-28 14:00:53 +00:00
</table>
2013-11-26 18:01:06 +00:00
</div>
2013-12-19 13:33:16 +00:00
<div style= "height: auto;width:450px; margin:0 auto;padding-top:20px;padding-bottom:40px;" >
2014-04-03 09:23:55 +00:00
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#8A89BA;margin : 0 15px 0 0;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/accept?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > Accept</a>
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#808080;margin : 0 15px 0 0;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/decline?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > Decline</a>
<a style= "padding: 8px 30px 8px 30px;border-radius: 6px;border: 1px solid #CCCCCC;background:#D8D8D8;text-decoration: none;color:#FFFFFF;" href= "/calendar/meeting/view?db=${'dbname' in ctx and ctx['dbname'] or ''}&token=${object.access_token}&action=${'action_id' in ctx and ctx['action_id'] or ''}&id=${object.event_id.id}" > View</a>
2013-12-19 13:33:16 +00:00
</div>
2013-11-26 18:01:06 +00:00
</div>
</body>
</html>
2013-12-19 13:33:16 +00:00
]]>
</field>
2013-11-26 18:01:06 +00:00
</record>
2014-01-10 17:09:12 +00:00
<record id= "calendar_template_meeting_reminder" model= "email.template" >
2013-11-23 11:36:27 +00:00
<field name= "name" > Meeting Invitation</field>
2013-12-19 13:33:16 +00:00
<field name= "email_from" > ${object.event_id.user_id.email or ''}</field>
<field name= "subject" > ${object.event_id.name} - Reminder</field>
2013-12-19 14:47:39 +00:00
<field name= "model_id" ref= "calendar.model_calendar_attendee" />
2013-11-23 11:36:27 +00:00
2013-12-19 13:33:16 +00:00
<field name= "email_to" > ${('' if object.partner_id and object.partner_id.email and object.partner_id.email==object.email else object.email|safe)}</field>
2013-12-20 14:42:30 +00:00
<field name= "partner_to" > ${object.partner_id and object.partner_id.email and object.partner_id.email==object.email and object.partner_id.id or False }</field>
2013-11-23 11:36:27 +00:00
<field name= "auto_delete" eval= "True" />
2013-12-19 13:33:16 +00:00
2013-11-23 11:36:27 +00:00
<field name= "body_html" > < ![CDATA[
<html >
<head >
<meta http-equiv= "Content-type" content= "text/html; charset=utf-8" />
2013-12-19 13:33:16 +00:00
<title > ${object.event_id.name}</title>
<style >
span.oe_mail_footer_access {
display:block;
text-align:center;
color:grey;
}
</style>
2013-11-23 11:36:27 +00:00
</head>
<body >
<div style= "border-radius: 2px; max-width: 1200px; height: auto;margin-left: auto;margin-right: auto;background-color:#f9f9f9;" >
<div style= "height:auto;text-align: center;font-size : 30px;color: #8A89BA;" >
2013-12-19 13:33:16 +00:00
<strong > ${object.event_id.name}</strong>
2013-11-23 11:36:27 +00:00
</div>
<div style= "height: 50px;text-align: left;font-size : 14px;border-collapse: separate;margin-top:10px" >
2014-03-11 08:10:25 +00:00
<strong style= "margin-left:12px" > Dear ${object.cn}</strong> ,<br />
2014-03-13 11:00:02 +00:00
<p style= "margin-left:12px" > That is a reminder for the event below : </p>
2013-11-23 11:36:27 +00:00
</div>
<div style= "height: auto;margin-left:12px;margin-top:30px;" >
<table >
<tr >
<td >
2015-04-02 11:34:33 +00:00
<div style= "border-top-left-radius:3px;border-top-right-radius:3px;font-size:12px;border-collapse:separate;text-align:center;font-weight:bold;color:#ffffff;width:130px;min-height: 18px;border-color:#ffffff;background:#8a89ba;padding-top: 4px;" > ${object.event_id.get_interval(object.event_id.start, 'dayname', tz=object.partner_id.tz)}</div>
2013-11-23 11:36:27 +00:00
<div style= "font-size:48px;min-height:auto;font-weight:bold;text-align:center;color: #5F5F5F;background-color: #E1E2F8;width: 130px;" >
2015-04-02 11:34:33 +00:00
${object.event_id.get_interval(object.event_id.start,'day', tz=object.partner_id.tz)}
2013-11-23 11:36:27 +00:00
</div>
2015-04-02 11:34:33 +00:00
<div style= 'font-size:12px;text-align:center;font-weight:bold;color:#ffffff;background-color:#8a89ba' > ${object.event_id.get_interval(object.event_id.start, 'month', tz=object.partner_id.tz)}</div>
2014-05-05 15:42:46 +00:00
<div style= "border-collapse:separate;color:#8a89ba;text-align:center;width: 128px;font-size:12px;border-bottom-right-radius:3px;font-weight:bold;border:1px solid;border-bottom-left-radius:3px;" > ${not object.event_id.allday and object.event_id.get_interval(object.event_id.start, 'time', tz=object.partner_id.tz) or ''}</div>
2013-11-23 11:36:27 +00:00
</td>
<td >
<table cellspacing= "0" cellpadding= "0" border= "0" style= "margin-top: 15px; margin-left: 10px;font-size: 16px;" >
2014-02-28 14:00:53 +00:00
<tr >
2013-11-23 11:36:27 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.location:
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Where
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:top;" >
% if object.event_id.location:
<div style = "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 14px" >
: ${object.event_id.location}
<span style= "color:#A9A9A9; " > (<a href= "http://maps.google.com/maps?oi=map&q=${object.event_id.location}" > View Map</a> )
</span>
</div>
% endif
</td>
2013-12-19 13:33:16 +00:00
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-11-23 11:36:27 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if object.event_id.description :
<div style= "width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
What
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
2014-02-28 14:00:53 +00:00
<td style= "vertical-align:text-top;" >
% if object.event_id.description :
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${object.event_id.description}
</div>
% endif
2013-11-23 11:36:27 +00:00
</td>
</tr>
2014-02-28 14:00:53 +00:00
<tr >
2013-12-19 13:33:16 +00:00
<td style= "vertical-align:top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "height:auto; width: 120px; background : #CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
Duration
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
<td colspan= "3" style= "vertical-align:text-top;" >
2014-02-28 14:00:53 +00:00
% if not object.event_id.allday and object.event_id.duration:
<div style= "font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
: ${('%dH%02d' % (object.event_id.duration,(object.event_id.duration*60)%60))}
</div>
% endif
2013-12-19 13:33:16 +00:00
</td>
2014-02-28 14:00:53 +00:00
</tr>
2013-11-23 11:36:27 +00:00
<tr style= " height: 30px;" >
<td style= "height: 25px;width: 120px; background : # CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;" >
<div >
Attendees
</div>
</td>
<td colspan= "3" >
2013-12-19 13:33:16 +00:00
:
% for attendee in object.event_id.attendee_ids:
2014-04-14 14:47:54 +00:00
<div style= "display:inline-block; border-radius: 50%; width:10px; height:10px;background:${'color' in ctx and ctx['color'][attendee.state] or 'white'};" > </div>
2013-12-19 13:33:16 +00:00
% if attendee.cn != object.cn:
<span style= "margin-left:5px" > ${attendee.cn}</span>
% else:
<span style= "margin-left:5px" > You</span>
2013-11-23 11:36:27 +00:00
% endif
% endfor
</td>
</tr>
</table>
</td>
</tr>
</table>
2013-12-19 13:33:16 +00:00
</div>
2013-11-23 11:36:27 +00:00
</div>
</body>
</html>
2013-12-19 13:33:16 +00:00
]]>
</field>
2013-11-23 11:36:27 +00:00
</record>
2012-06-28 06:40:05 +00:00
</data>
2010-01-22 07:33:05 +00:00
</openerp>