diff options
| -rw-r--r-- | demo_10.sql | 0 | ||||
| -rw-r--r-- | openerp/http.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/demo_10.sql b/demo_10.sql new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/demo_10.sql diff --git a/openerp/http.py b/openerp/http.py index c0ca2489afc..e3de9c95665 100644 --- a/openerp/http.py +++ b/openerp/http.py @@ -1364,7 +1364,7 @@ class Root(object): if territory: lang = '%s_%s' % (code, territory) else: - lang = babel.code.LOCALE_ALIASES[code] + lang = babel.core.LOCALE_ALIASES[code] except (ValueError, KeyError): lang = 'en_US' httprequest.session.context["lang"] = lang |
