[FIX] small fix in onchange_employee(when onchage is called with no employee, worked days lines will also update)

bzr revid: psi@tinyerp.co.in-20110512050703-lvf1d3ra76i4walx
This commit is contained in:
psi (Open ERP) 2011-05-12 10:37:03 +05:30
parent ba27653083
commit 3df45b0659
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ class hr_payslip(osv.osv):
res = {'value':{
'line_ids':[],
'input_line_ids': [],
'worked_days_line_ids': [],
#'details_by_salary_head':[], TODO put me back
'name':'',
'contract_id': False,