[FIX] hr_timesheet_sheet: did some changes.
bzr revid: cha@tinyerp.com-20130201092307-yajxn97wnhz3xofj
This commit is contained in:
parent
f3c4e973cd
commit
95a8d5759e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue