[MERGE] merged psi with fix of computation engine

bzr revid: qdp-launchpad@openerp.com-20110511145239-uidsrlki2kn35x8f
This commit is contained in:
Quentin (OpenERP)
2011-05-11 16:52:39 +02:00
+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