'attendee_ids': [(4, att_id)]
}, context=context)
new_attendees.append(att_id)
-
if mail_to and current_user.email:
is_sent_mail = att_obj._send_mail(cr, uid, new_attendees, mail_to,
email_from = current_user.email, context=context)
if is_sent_mail:
- meeting_obj = self.pool.get('crm.meeting')
- meeting_id = meeting_obj.search(cr, uid, [('attendee_ids','in',new_attendees)],context = context)
- meeting_obj.message_post(cr, uid, meeting_id, body=_("An invitation email has been sent to attendee(s)"), context=context)
+ self.message_post(cr, uid, event.id, body=_("An invitation email has been sent to attendee(s)"), context=context)
return True
def default_organizer(self, cr, uid, context=None):
% endif
% if object.description :
<tr style=" height: 30px;">
- <td>
+ <td style="vertical-align:top;">
<div style="height: 25px; width: 120px; background : # CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;">
What
</div>
</td>
- <td colspan="3">
+ <td colspan="3" style="vertical-align:text-top;">
<div style="font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;">
: ${object.description or ''}
</div>
% endif
% if not object.description :
<tr style=" height: 30px;color:#909090">
- <td>
+ <td style="vertical-align:top;">
<div style="height: 25px; width: 120px; background : # CCCCCC; font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;">
What
</div>
</td>
- <td colspan="3">
+ <td colspan="3" style="vertical-align:text-top;">
<div style="font-family: Lucica Grande', Ubuntu, Arial, Verdana, sans-serif;">
: -
</div>