[FIX] small fix

bzr revid: psi@tinyerp.co.in-20110511133522-8e51br6tsnzs4dao
This commit is contained in:
psi (Open ERP)
2011-05-11 19:05:22 +05:30
parent 5aab6e88a8
commit dad5da0b60
+1 -1
View File
@@ -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