From 0da56400be22ccffab368eeda2db46f05aeaf099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 11 Nov 2008 23:39:46 +0100 Subject: [PATCH] Keep domain to open translation for issue529 --- trytond/ir/translation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index 5bd5db0e1e..1e0808de14 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -913,7 +913,8 @@ class TranslationUpdate(Wizard): model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context) res = act_window_obj.read(cursor, user, model_data.db_id, context=context) - res['domain'] = str([('lang', '=', data['form']['lang'])]) + res['domain'] = res['domain'][:-1] + ',' + \ + str(('lang', '=', data['form']['lang'])) + res['domain'][-1:] return res states = {