From 08d16855b4e6d54562a0331deaa99837658aaeba Mon Sep 17 00:00:00 2001 From: Korbinian Preisler Date: Fri, 28 Jan 2011 09:56:39 +0100 Subject: [PATCH] add missing context in rpc call of window wizard creation for issue1842 (transplanted from 8deb3010f9a00331384e0effbcdc2bb234ce6838) --- tryton/gui/window/wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/wizard.py b/tryton/gui/window/wizard.py index 25cf1aa0f4..148dd6671c 100644 --- a/tryton/gui/window/wizard.py +++ b/tryton/gui/window/wizard.py @@ -48,7 +48,7 @@ class Wizard(SignalEvent): self.context = context if not 'form' in datas: datas['form'] = {} - args = ('wizard', action, 'create') + args = ('wizard', action, 'create', rpc.CONTEXT) try: self.wiz_id = rpc.execute(*args) except Exception, exception: