Use the right id when creating trigger for issue788
This commit is contained in:
1 parent
1ba1ee8730
commit
168bc328af
1 file changed
+1
-1
@@ -290,7 +290,7 @@ class WorkflowWorkitem(OSV):
|
||||
for res_id in ids:
|
||||
trigger_obj.create(cursor, 0, {
|
||||
'model': transition.trigger_model,
|
||||
'res_id': workitem.instance.res_id,
|
||||
'res_id': res_id,
|
||||
'instance': workitem.instance.id,
|
||||
'workitem': workitem.id,
|
||||
}, context=context)
|
||||
|
||||
Reference in new issue
Block a user