diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py index 721e32b92a2..88f7c68c789 100644 --- a/bin/report/report_sxw.py +++ b/bin/report/report_sxw.py @@ -175,7 +175,7 @@ class rml_parse(object): # translate the RML file if 'lang' in self.localcontext: lang = self.localcontext['lang'] - if lang not in (False, 'en') and text and not text.isspace(): + if lang not in (False, 'en_US') and text and not text.isspace(): transl_obj = self.pool.get('ir.translation') piece_list = self._transl_regex.split(text) for pn in range(len(piece_list)):