fixed workflow instance problem in hr_holidays

bzr revid: hda@hda-laptop-20110418110437-875ee2zci9s09ghk
This commit is contained in:
Husen Daudi
2011-04-18 16:34:37 +05:30
+1
View File
@@ -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