projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b34691c
)
[FIX] bin/workflow: 'stack' variable was not initialized when sql query returned...
author
Olivier Laurent
<olt@tinyerp.com>
Mon, 17 Aug 2009 09:33:01 +0000
(11:33 +0200)
committer
Olivier Laurent
<olt@tinyerp.com>
Mon, 17 Aug 2009 09:33:01 +0000
(11:33 +0200)
bzr revid: olt@tinyerp.com-
20090817093301
-epwojuey9j15ih3d
bin/workflow/instance.py
patch
|
blob
|
history
diff --git
a/bin/workflow/instance.py
b/bin/workflow/instance.py
index
b78b5ae
..
0baafdd
100644
(file)
--- a/
bin/workflow/instance.py
+++ b/
bin/workflow/instance.py
@@
-44,6
+44,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 = []
for witem in cr.dictfetchall():
stack = []
workitem.process(cr, witem, ident, signal, force_running, stack=stack)