From ed4c054cfc24160993d57ffc74a278e8a5386efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 1 Sep 2008 11:43:59 +0200 Subject: [PATCH] Improve update report translation to display only en_US report translation --- trytond/ir/translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index 1f1e31017c..1fe922bb95 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -606,7 +606,7 @@ class ReportTranslationUpdate(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([('type', '=', 'odt')]) + res['domain'] = str([('type', '=', 'odt'), ('lang', '=', 'en_US')]) return res ReportTranslationUpdate()