From 31f6d8a0245fd24a698ef0739f55983db6f53103 Mon Sep 17 00:00:00 2001 From: Vishmita Date: Fri, 15 Feb 2013 11:44:23 +0530 Subject: [PATCH] [Fix]Improve code bzr revid: vja@tinyerp.com-20130215061423-a9h1evhxxg1513z8 --- addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index 215f2ba8cfd..d67d0e7594a 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -262,7 +262,8 @@ class hr_timesheet_line(osv.osv): res = sheet_obj.default_get(cr, uid, ['date_from','date_to','employee_id','company_id','state'], context=None) ids = sheet_obj.create(cr, uid, res, context=None) print"this >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...343424",ids,res - return [ids] + return ids + return idss def _sheet(self, cursor, user, ids, name, args, context=None): sheet_obj = self.pool.get('hr_timesheet_sheet.sheet')