From 7fd3ce69722c19b8d594b9e36968dfeb6dd40a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 17 Jan 2012 13:58:11 +0100 Subject: [PATCH] No need to store in the session the exported file review219004 --- trytond/ir/translation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index a8cbea30ab..fd6da2bd14 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -1126,8 +1126,10 @@ class TranslationExport(Wizard): return 'result' def default_result(self, session, fields): + file_ = session.result.file + session.result.file = False # No need to store it in session return { - 'file': session.result.file, + 'file': file_, } TranslationExport()