[Fix]Improve code

bzr revid: vja@tinyerp.com-20130215054233-lryxtaycngg474ck
This commit is contained in:
Vishmita
2013-02-15 11:12:33 +05:30
parent b1e5352939
commit 05e1a581c0
@@ -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')