hunk.code_window:     @api.multi
       def action_notify(self):
           body_template = self.env.ref('mail.message_activity_assigned')
           for activity in self:
               model_description = self.env[activity.res_model]._description.lower()
               body = body_template.render(
                   dict(activity=activity, model_description=model_description),
                   engine='ir.qweb',
                   minimal_qcontext=True
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:             model_description = self.env['ir.model']._get(activity.res_model).display_name
  
hunk.file_path: addons/mail/models/mail_activity.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  
  {
      'name': 'Ogone Payment Acquirer',
      'category': 'Accounting',
      'summary': 'Payment Acquirer: Ogone Implementation',
      'version': '1.0',
      'description': """Ogone Payment Acquirer""",
      'depends': ['payment'],
      'data': [
          'views/payment_views.xml',
          'views/payment_ogone_templates.xml',
          'data/payment_acquirer_data.xml',
      ],
      'installable': True,
      'post_init_hook': 'create_missing_journal_for_acquirers',
  }
  