From dad5da0b60eac07686c09d46357d9b1f5f347d18 Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Wed, 11 May 2011 19:05:22 +0530 Subject: [PATCH] [FIX] small fix bzr revid: psi@tinyerp.co.in-20110511133522-8e51br6tsnzs4dao --- addons/hr_payroll/hr_payroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_payroll/hr_payroll.py b/addons/hr_payroll/hr_payroll.py index b3962cef824..b15cb8ff03a 100644 --- a/addons/hr_payroll/hr_payroll.py +++ b/addons/hr_payroll/hr_payroll.py @@ -510,7 +510,7 @@ class hr_payslip(osv.osv): inputs = {} for input_line in payslip.input_line_ids: inputs[input_line.code] = input_line - localdict = {'heads': {}, 'payslip': payslip, 'worked_days': worked_days, 'inputs': inputs} + localdict = {'categories': {}, 'payslip': payslip, 'worked_days': worked_days, 'inputs': inputs} #get the ids of the structures on the contracts and their parent id as well structure_ids = self.pool.get('hr.contract').get_all_structures(cr, uid, contract_ids, context=context) #get the rules of the structure and thier children