'To get the date and print the report
@return: return report'

@api.multi
def print_report(self):

    self.ensure_one()
    data = {'ids': self.env.context.get('active_ids', [])}
    res = self.read()
    res = ((res and res[0]) or {})
    data.update({'form': res})
    return self.env['report'].get_action(self, 'l10n_in_hr_payroll.report_hrsalarybymonth', data=data)
