fixed workflow instance problem in hr_holidays
bzr revid: hda@hda-laptop-20110418110437-875ee2zci9s09ghk
This commit is contained in:
commit
baf94ebf97
|
@ -219,6 +219,7 @@ class hr_holidays(osv.osv):
|
|||
})
|
||||
wf_service = netsvc.LocalService("workflow")
|
||||
for id in ids:
|
||||
wf_service.trg_delete(uid, 'hr.holidays', id, cr)
|
||||
wf_service.trg_create(uid, 'hr.holidays', id, cr)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue