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')