Reviewers: ,
Please review this at http://codereview.tryton.org/181001/ Affected files: M trytond/model/browse.py Index: trytond/model/browse.py =================================================================== --- a/trytond/model/browse.py +++ b/trytond/model/browse.py @@ -264,7 +264,7 @@ self._context = self._context.copy() prev_lang = self._context.get('language') or 'en_US' self._context['language'] = lang - for cache in (self._cache, self._local_data): + for cache in (self._cache, {self._model_name: self._local_data}): language_cache = cache.setdefault('_language_cache', {}) for model in cache: if model == '_language_cache': -- tryton-dev@googlegroups.com mailing list