From 8d16581e0f64c4f40e15495c0db3edea9d765034 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 17 Jun 2008 20:17:23 +0000 Subject: Improvements inmenus Translations by modules removed print statement bzr revid: fp@tinyerp.com-eddee689d274afc56e6b7703a7cd22b9792f2c7b --- bin/workflow/wkf_expr.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bin/workflow/wkf_expr.py') diff --git a/bin/workflow/wkf_expr.py b/bin/workflow/wkf_expr.py index 434e091f4da..9a86b474f86 100644 --- a/bin/workflow/wkf_expr.py +++ b/bin/workflow/wkf_expr.py @@ -70,8 +70,6 @@ class Env(dict): def _eval_expr(cr, ident, workitem, action): ret=False - print '***' - print action for line in action.split('\n'): uid=ident[0] model=ident[1] @@ -83,17 +81,14 @@ def _eval_expr(cr, ident, workitem, action): else: wf_service = netsvc.LocalService("object_proxy") env = Env(wf_service, cr, uid, model, ids) - print line ret = eval(line, env) return ret def execute_action(cr, ident, workitem, activity): - print 'Execute Action' wf_service = netsvc.LocalService("object_proxy") obj = pooler.get_pool(cr.dbname).get('ir.actions.server') ctx = {'active_id':ident[2], 'active_ids':[ident[2]]} result = obj.run(cr, ident[0], [activity['action_id']], ctx) - print 'Result', result return result def execute(cr, ident, workitem, activity): -- cgit v1.2.3