[IMP] hr_payroll:improved code for holidays in 'onchange_employee_id' function.

bzr revid: mtr@mtr-20110323101149-pz4c5dzn3zvvkbqp
This commit is contained in:
mtr
2011-03-23 15:41:49 +05:30
parent 04bceafd1f
commit 56fd660481
+1 -1
View File
@@ -1190,7 +1190,7 @@ class hr_payslip(osv.osv):
res['amount'] = salary_rule.amount
res['type'] = salary_rule.type.id
leave += days
total = value
total += value
res['total'] = value
# update['value']['line_ids'].append(res)
if salary_rule.appears_on_payslip: