From b8dc0b287618ff9d2e7fc59bbac03454ba966ce5 Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 26 Jul 2007 08:32:05 +0000 Subject: [PATCH] kernel: don't commit in the workflow bzr revid: ced-84ca843bdabf27b1e856f247cf8484d2612c377a --- bin/workflow/workitem.py | 2 -- 1 file changed, 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): #