[MERGE] forward port branch saas-11 up to 96fa86779b
This commit is contained in:
@@ -224,7 +224,7 @@ class WorkflowItem(object):
|
||||
transitions.append((transition['id'], self.workitem['inst_id']))
|
||||
|
||||
if test and transitions:
|
||||
cr.executemany('insert into wkf_witm_trans (trans_id,inst_id) values (%s,%s)', transitions)
|
||||
cr.executemany('insert into wkf_witm_trans (trans_id,inst_id) values (%s,%s) except (select trans_id,inst_id from wkf_witm_trans)', transitions)
|
||||
cr.execute('delete from wkf_workitem where id=%s', (self.workitem['id'],))
|
||||
for t in transitions:
|
||||
self._join_test(t[0], t[1], stack)
|
||||
|
||||
Reference in New Issue
Block a user