kernel: don't commit in the workflow

bzr revid: ced-84ca843bdabf27b1e856f247cf8484d2612c377a
This commit is contained in:
ced 2007-07-26 08:32:05 +00:00
parent 6f7fe0b39d
commit b8dc0b2876
1 changed files with 0 additions and 2 deletions

View File

@ -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):
#