[FIX] translate: lang detection fallback actually falls back
authorDenis Ledoux <dle@odoo.com>
Thu, 27 Nov 2014 16:18:46 +0000 (17:18 +0100)
committerDenis Ledoux <dle@odoo.com>
Thu, 27 Nov 2014 16:18:46 +0000 (17:18 +0100)
commit1cbf48417ec4909bfa0f0bb1f6c1206111d26c83
tree8f6578dec0b7bc612d54ea2aedd7bb57e7c00944
parentde27e1979430a65b6f7dcc16492132abd620010a
[FIX] translate: lang detection fallback actually falls back

For instance, when a context was passed to a method, but no lang was defined in the context, it did not tried to fallback to other places where we could have find the user language.
openerp/tools/translate.py