hunk.code_window:             res[record['id']] = 100 * record['nb_clicks'] / record['nb_mails']
           return res
       _columns = {
           'name': fields.char('Name', required=True),
           'stage_id': fields.many2one('mail.mass_mailing.stage', 'Stage', required=True),
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:     def _get_total_mailings(self, cr, uid, ids, field_name, arg, context=None):
           result = dict.fromkeys(ids, 0)
           for mail in self.pool['mail.mass_mailing'].read_group(cr, uid, [('mass_mailing_campaign_id', 'in', ids)], ['mass_mailing_campaign_id'], ['mass_mailing_campaign_id'], context=context):
               result[mail['mass_mailing_campaign_id'][0]] = mail['mass_mailing_campaign_id_count']
           return result
  
hunk.file_path: addons/mass_mailing/models/mass_mailing.py
hunk.type: add
file: import base_gengo_translations
  