summaryrefslogtreecommitdiff
path: root/bin/workflow/instance.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2009-08-23 13:02:10 +0300
committerP. Christeas <p_christ@hol.gr>2009-08-23 13:02:10 +0300
commit8cbe393b52d03d7f0d90275b57dc11a5b356e803 (patch)
tree512c7953a59ea64582796d217fec1ac624eb0102 /bin/workflow/instance.py
parent969ea54ee67ed6f5fd5171db46b8b9b52ee634d9 (diff)
parentfe82cf7fac1bfc8583ef77e29e30a44e8f290d9b (diff)
Merge commit 'origin/master' into xrg (5.0.3 official)
Conflicts: bin/netsvc.py bin/tools/config.py bin/workflow/instance.py bzr revid: p_christ@hol.gr-20090823100210-2py390qp3hym8jlp
Diffstat (limited to 'bin/workflow/instance.py')
-rw-r--r--bin/workflow/instance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/workflow/instance.py b/bin/workflow/instance.py
index 8f1c8455598..ce78807d959 100644
--- a/bin/workflow/instance.py
+++ b/bin/workflow/instance.py
@@ -43,7 +43,7 @@ def delete(cr, ident):
def validate(cr, inst_id, ident, signal, force_running=False):
cr.execute("select * from wkf_workitem where inst_id=%s", (inst_id,))
- stack = None
+ stack = []
for witem in cr.dictfetchall():
stack = []
workitem.process(cr, witem, ident, signal, force_running, stack=stack)