report = ir_actions_report.browse(self.env.cr, self.env.uid,
    matching_reports[0])
report_service = 'report.' + report.report_name
data, format = openerp.report.render_report(self.env.cr, self.env.uid,
    data_ids, report.report_name, {}, {})
Not able to add attachments in email