summaryrefslogtreecommitdiff
path: root/bin/workflow
diff options
context:
space:
mode:
authorced <>2007-07-26 08:32:05 +0000
committerced <>2007-07-26 08:32:05 +0000
commitb8dc0b287618ff9d2e7fc59bbac03454ba966ce5 (patch)
tree679801a5cf8c6c04821093744c3bdf20e74a8d5e /bin/workflow
parent6f7fe0b39d225d7ec3c4f4330f93a933261e1450 (diff)
kernel: don't commit in the workflow
bzr revid: ced-84ca843bdabf27b1e856f247cf8484d2612c377a
Diffstat (limited to 'bin/workflow')
-rw-r--r--bin/workflow/workitem.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/workflow/workitem.py b/bin/workflow/workitem.py
index 554df59e0da..5fbf7ee7fe3 100644
--- a/bin/workflow/workitem.py
+++ b/bin/workflow/workitem.py
@@ -84,8 +84,6 @@ def _state_set(cr, workitem, activity, state, ident):
cr.execute('update wkf_workitem set state=%s where id=%d', (state,workitem['id']))
workitem['state'] = state
wkf_logs.log(cr,ident,activity['id'],state)
- if state == 'complete':
- cr.commit()
def _execute(cr, workitem, activity, ident):
#