From 5d925789863a8730d79f880fe331d09dd2a5e477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 22 May 2008 10:44:06 +0200 Subject: [PATCH] Reload user preference at the end of wizard. This is a temporary fix until we display company in the status bar --- tryton/wizard/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tryton/wizard/main.py b/tryton/wizard/main.py index 3d6537a2fc..fb0a9d7579 100644 --- a/tryton/wizard/main.py +++ b/tryton/wizard/main.py @@ -141,6 +141,8 @@ class Wizard(object): dia = None try: rpc.execute('wizard', 'delete', wiz_id) + #XXX to remove when company displayed in status bar + rpc.context_reload() except: pass