[IMP]added chatter notification for email sent to attendee(s).
bzr revid: ishwarmalvi13@gmail.com-20130826131510-ab0sluzt0no6vr6h
This commit is contained in:
@@ -1041,8 +1041,12 @@ rule or repeating pattern of time to exclude from the recurring rule."),
|
||||
new_attendees.append(att_id)
|
||||
|
||||
if mail_to and current_user.email:
|
||||
att_obj._send_mail(cr, uid, new_attendees, mail_to,
|
||||
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)
|
||||
return True
|
||||
|
||||
def default_organizer(self, cr, uid, context=None):
|
||||
|
||||
Reference in New Issue
Block a user