hunk.code_window:     def do_accept(self):
           """ Marks event invitation as Accepted. """
           result = self.write({'state': 'accepted'})
           for attendee in self:
               attendee.event_id.message_post(body=_("%s has accepted invitation") % (attendee.cn), subtype="calendar.subtype_invitation")
           return result
       @api.multi
       def do_decline(self):
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:             attendee.event_id.message_post(body=_("%s has accepted invitation") % (attendee.common_name), subtype="calendar.subtype_invitation")
  
hunk.file_path: addons/calendar/models/calendar.py
hunk.type: replace
file: Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  Upstream-Contact: Odoo <info@odoo.com>
  
  Files: *
  Copyright: (C) 2004-2015 Odoo SA. (www.odoo.com)
  License: LGPL-3+
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   .
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Lesser General Public License for more details.
   .
   You should have received a copy of the GNU Lesser General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
   
  