From 622b602f80755f5e64400c2c4eda958ae97b0835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 17 Sep 2008 10:42:47 +0200 Subject: [PATCH] Add rpc CONTEXT in action execute for issue369 --- tryton/action/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/action/main.py b/tryton/action/main.py index e13572aa69..c0a0707982 100644 --- a/tryton/action/main.py +++ b/tryton/action/main.py @@ -58,7 +58,7 @@ class Action(object): def execute(act_id, datas, window, action_type=None, context=None): if context is None: context = {} - ctx = {} + ctx = rpc.CONTEXT.copy() ctx.update(context) if not action_type: res = False