From 7e3dbcf1e920fa120d26e7b4a47eef63e9dd0b39 Mon Sep 17 00:00:00 2001 From: "Amit (OpenERP)" Date: Wed, 23 Nov 2011 11:22:21 +0530 Subject: [PATCH] [IMP]:improved code bzr revid: apa@tinyerp.com-20111123055221-pnaz34zffzjw1eg2 --- addons/hr_payroll/hr_payroll_report.xml | 2 +- addons/hr_payroll/report/report_payslip.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_payroll/hr_payroll_report.xml b/addons/hr_payroll/hr_payroll_report.xml index f9f2741cc15..a1b3587313a 100644 --- a/addons/hr_payroll/hr_payroll_report.xml +++ b/addons/hr_payroll/hr_payroll_report.xml @@ -6,7 +6,7 @@ auto="False" id="payslip_report" model="hr.payslip" - name="Payslip" + name="payslip" rml="hr_payroll/report/report_payslip.rml" string="Employee PaySlip" /> diff --git a/addons/hr_payroll/report/report_payslip.py b/addons/hr_payroll/report/report_payslip.py index 0fc37b44ac7..e2ef7dab974 100644 --- a/addons/hr_payroll/report/report_payslip.py +++ b/addons/hr_payroll/report/report_payslip.py @@ -44,6 +44,6 @@ class payslip_report(report_sxw.rml_parse): res = payslip_line.browse(self.cr, self.uid, ids) return res -report_sxw.report_sxw('report.test.pdf', 'hr.payslip', 'hr_payroll/report/report_payslip.rml', parser=payslip_report) +report_sxw.report_sxw('report.payslip', 'hr.payslip', 'hr_payroll/report/report_payslip.rml', parser=payslip_report) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file