diff --git a/addons/l10n_in_hr_payroll/wizard/hr_salary_employee_bymonth.py b/addons/l10n_in_hr_payroll/wizard/hr_salary_employee_bymonth.py index 22004c21a6d..59ec95db0d4 100644 --- a/addons/l10n_in_hr_payroll/wizard/hr_salary_employee_bymonth.py +++ b/addons/l10n_in_hr_payroll/wizard/hr_salary_employee_bymonth.py @@ -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 { diff --git a/addons/l10n_in_hr_payroll/wizard/hr_yearly_salary_detail.py b/addons/l10n_in_hr_payroll/wizard/hr_yearly_salary_detail.py index 6efceb875db..16bfd63bdc9 100644 --- a/addons/l10n_in_hr_payroll/wizard/hr_yearly_salary_detail.py +++ b/addons/l10n_in_hr_payroll/wizard/hr_yearly_salary_detail.py @@ -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 {