Keep domain to open translation for issue529

This commit is contained in:
Cédric Krier committed 2008-11-11 23:39:46 +01:00
1 parent 812d65b2b4
commit 0da56400be
1 file changed
+2 -1
+2 -1
View File
@@ -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 = {