Improve update report translation to display only en_US report translation

This commit is contained in:
Cédric Krier committed 2008-09-01 11:43:59 +02:00
1 parent c22016d6f5
commit ed4c054cfc
1 file changed
+1 -1
+1 -1
View File
@@ -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()