[IMP]:improved code
bzr revid: apa@tinyerp.com-20111123055221-pnaz34zffzjw1eg2
This commit is contained in:
parent
2e758fb463
commit
7e3dbcf1e9
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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:
|
Loading…
Reference in New Issue