Fix report translation

issue2586
review357001
This commit is contained in:
Giedrius Slavinskas committed 2012-05-04 10:36:26 +03:00
1 parent 0a6334b020
commit 1ced4da95e
1 file changed
+2 -2
+2 -2
View File
@@ -78,9 +78,9 @@ class TranslateFactory:
('type', '=', 'odt'),
('name', '=', self.report_name),
('value', '!=', ''),
('value', '!=', False),
('value', '!=', None),
('fuzzy', '=', False),
('res_id', '=', 0),
('res_id', '=', None),
])
for translation in self.translation.browse(translation_ids):
self.cache[self.language][translation.src] = translation.value