From 05e1a581c0ef1865d4c8abbf62c43d098587c92c Mon Sep 17 00:00:00 2001 From: Vishmita Date: Fri, 15 Feb 2013 11:12:33 +0530 Subject: [PATCH] [Fix]Improve code bzr revid: vja@tinyerp.com-20130215054233-lryxtaycngg474ck --- addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index 1247ed6166b..215f2ba8cfd 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -262,7 +262,7 @@ 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 super(hr_timesheet_line, self).create(cr, uid, vals, *args, **argv) + return [ids] def _sheet(self, cursor, user, ids, name, args, context=None): sheet_obj = self.pool.get('hr_timesheet_sheet.sheet')