hunk.code_window:                         % for attendee in object.event_id.attendee_ids:
                               <li>
                                   <div style="display:inline-block; border-radius: 50%; width:10px; height:10px;background:${colors[attendee.state] or 'white'};"></div>
                                   % if attendee.cn != object.cn:
                                   <span style="margin-left:5px">${attendee.cn}</span>
                                   % else:
                                   <span style="margin-left:5px">You</span>
                                   % endif
                               </li>
                           % endfor
  
hunk.labels: keep keep keep replace replace keep keep keep keep keep
hunk.after_edit:                                 % if attendee.common_name != object.common_name:
                                   <span style="margin-left:5px">${attendee.common_name}</span>
  
hunk.file_path: addons/calendar/data/calendar_data.xml
hunk.type: replace
file: from openerp import models, fields, api
  from openerp.tools.translate import _
  
  class AccountMoveReversal(models.TransientModel):
      """
      Account move reversal wizard, it cancel an account move by reversing it.
      """
      _name = 'account.move.reversal'
      _description = 'Account move reversal'
  
      date = fields.Date(string='Reversal date', default=fields.Date.context_today, required=True)
      journal_id = fields.Many2one('account.journal', string='Use Specific Journal', help='If empty, uses the journal of the journal entry to be reversed.')
  
      @api.multi
      def reverse_moves(self):
          ac_move_ids = self._context.get('active_ids', False)
          res = self.env['account.move'].browse(ac_move_ids).reverse_moves(self.date, self.journal_id or False)
          if res:
              return {
                  'name': _('Reverse Moves'),
                  'type': 'ir.actions.act_window',
                  'view_type': 'form',
                  'view_mode': 'tree,form',
                  'res_model': 'account.move',
                  'domain': [('id', 'in', res)],
              }
          return {'type': 'ir.actions.act_window_close'}
  