diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2008-06-17 20:17:23 +0000 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2008-06-17 20:17:23 +0000 |
| commit | 8d16581e0f64c4f40e15495c0db3edea9d765034 (patch) | |
| tree | 3b5a756ff2e7aa3f9886601a07c2a8160ef0d51a /bin/workflow/instance.py | |
| parent | d89c86bd9d457f7a7bdb14b6c555eca804da7097 (diff) | |
Improvements inmenus
Translations by modules
removed print statement
bzr revid: fp@tinyerp.com-eddee689d274afc56e6b7703a7cd22b9792f2c7b
Diffstat (limited to 'bin/workflow/instance.py')
| -rw-r--r-- | bin/workflow/instance.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/workflow/instance.py b/bin/workflow/instance.py index 7b036ae2c97..d25bc367f4c 100644 --- a/bin/workflow/instance.py +++ b/bin/workflow/instance.py @@ -51,11 +51,9 @@ def delete(cr, ident): def validate(cr, inst_id, ident, signal, force_running=False): cr.execute("select * from wkf_workitem where inst_id=%d", (inst_id,)) for witem in cr.dictfetchall(): - print '-----' stack = [] workitem.process(cr, witem, ident, signal, force_running, stack=stack) # An action is returned - print '----- Got', stack _update_end(cr, inst_id, ident) return stack and stack[0] or False @@ -64,7 +62,6 @@ def update(cr, inst_id, ident): for witem in cr.dictfetchall(): stack = [] workitem.process(cr, witem, ident, stack=stack) - print 'End Update' return _update_end(cr, inst_id, ident) def _update_end(cr, inst_id, ident): |
