diff options
| author | Richard Mathot <rim@odoo.com> | 2016-08-29 17:31:55 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2016-09-06 09:37:04 +0200 |
| commit | c208d0e0b25e0872146cc3165696e54d2ef6e65e (patch) | |
| tree | 2a0e6b296f29e39b670ccac0276714895ac2c98a /addons/link_tracker/controller | |
| parent | e424a9a938749d26adfa4eb4fca830a7c7f8944e (diff) | |
[FIX] tools: prevent crash of formatLang
From Odoo 9.0, en_US is not always activated in Odoo. As a fallback, if
the search for a language does not find company language nor English US,
we use the first available language (there is always at least one).
In order to reproduce this behavior, eg: you can set the language of
your company's partner to en_US, then load another language, then
disable en_US from your database. Try to open the "Accounting" dashboard
and you will get a traceback.
Diffstat (limited to 'addons/link_tracker/controller')
0 files changed, 0 insertions, 0 deletions
