[Fix]Improve code

bzr revid: vja@tinyerp.com-20130215061423-a9h1evhxxg1513z8
This commit is contained in:
Vishmita
2013-02-15 11:44:23 +05:30
parent 05e1a581c0
commit 31f6d8a024
@@ -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')