From 5fb76192cd088e6d68b672d1c6db63053014dd40 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Thu, 9 Aug 2012 16:48:51 +0530 Subject: [PATCH] [FIX]l10n_in_hr_payroll:removed list from read bzr revid: kbh@tinyerp.com-20120809111851-9hxicpudhsdj0jvb --- addons/l10n_in_hr_payroll/wizard/hr_salary_employee_bymonth.py | 2 +- addons/l10n_in_hr_payroll/wizard/hr_yearly_salary_detail.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {