diff options
| author | Olivier Dony <odo@openerp.com> | 2010-06-04 02:39:40 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2010-06-04 02:39:40 +0200 |
| commit | 0961c0f5cd953b06fece026448b7413f1d0adc7d (patch) | |
| tree | 2d3d699e961f87ef59e926a7ff9eaf8881a1b3d1 /bin/workflow/wkf_expr.py | |
| parent | 534740885e1eec7a336d7527c579839504ac1ff7 (diff) | |
[ADD] safe_eval: final round of adjustments, seems stable AFAICT (please be careful if you notice any error due to it - contact me if on doubt on how to fix properly)
bzr revid: odo@openerp.com-20100604003940-e32elbetzxop8c3b
Diffstat (limited to 'bin/workflow/wkf_expr.py')
| -rw-r--r-- | bin/workflow/wkf_expr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/workflow/wkf_expr.py b/bin/workflow/wkf_expr.py index 6d3c0a19401..0150105c3ab 100644 --- a/bin/workflow/wkf_expr.py +++ b/bin/workflow/wkf_expr.py @@ -55,7 +55,7 @@ def _eval_expr(cr, ident, workitem, action): ret=False else: env = Env(cr, uid, model, ids) - ret = eval(line, env) + ret = eval(line, env, nocopy=True) return ret def execute_action(cr, ident, workitem, activity): |
