diff options
| author | ced <> | 2007-07-26 08:32:05 +0000 |
|---|---|---|
| committer | ced <> | 2007-07-26 08:32:05 +0000 |
| commit | b8dc0b287618ff9d2e7fc59bbac03454ba966ce5 (patch) | |
| tree | 679801a5cf8c6c04821093744c3bdf20e74a8d5e /bin/workflow/workitem.py | |
| parent | 6f7fe0b39d225d7ec3c4f4330f93a933261e1450 (diff) | |
kernel: don't commit in the workflow
bzr revid: ced-84ca843bdabf27b1e856f247cf8484d2612c377a
Diffstat (limited to 'bin/workflow/workitem.py')
| -rw-r--r-- | bin/workflow/workitem.py | 2 |
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): # |
