kernel: don't commit in the workflow
bzr revid: ced-84ca843bdabf27b1e856f247cf8484d2612c377a
This commit is contained in:
parent
6f7fe0b39d
commit
b8dc0b2876
|
@ -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):
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue