[FIX] hr_timesheet_sheet: did some changes.

bzr revid: cha@tinyerp.com-20130201092307-yajxn97wnhz3xofj
This commit is contained in:
Ajay Chauhan (OpenERP) 2013-02-01 14:53:07 +05:30
parent f3c4e973cd
commit 95a8d5759e
1 changed files with 1 additions and 2 deletions

View File

@ -190,8 +190,7 @@ class hr_timesheet_sheet(osv.osv):
def action_set_to_draft(self, cr, uid, ids, *args):
self.write(cr, uid, ids, {'state': 'draft'})
for id in ids:
self.create_workflow(cr, uid, [id])
self.create_workflow(cr, uid, ids)
return True
def name_get(self, cr, uid, ids, context=None):