[IMP] hr_payroll:improved code for holidays in 'onchange_employee_id' function.
bzr revid: mtr@mtr-20110323101149-pz4c5dzn3zvvkbqp
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user