[FIX]l10n_in_hr_payroll:removed list from read

bzr revid: kbh@tinyerp.com-20120809111851-9hxicpudhsdj0jvb
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-08-09 16:48:51 +05:30
parent 4b9b862ea5
commit 5fb76192cd
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class hr_salary_employee_bymonth(osv.osv_memory):
context = {}
datas = {'ids': context.get('active_ids', [])}
res = self.read(cr, uid, ids, ['employee_ids', 'start_date', 'end_date'], context=context)
res = self.read(cr, uid, ids, context=context)
res = res and res[0] or {}
datas.update({'form': res})
return {

View File

@ -52,7 +52,7 @@ class yearly_salary_detail(osv.osv_memory):
context = {}
datas = {'ids': context.get('active_ids', [])}
res = self.read(cr, uid, ids, ['employee_ids', 'date_from', 'date_to'], context=context)
res = self.read(cr, uid, ids, context=context)
res = res and res[0] or {}
datas.update({'form': res})
return {