diff options
| author | Olivier Dony <odo@openerp.com> | 2016-07-01 15:43:02 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2016-07-01 18:09:32 +0200 |
| commit | 8d8f1bdb6a48db1da486fa093477b0f928a0d9d9 (patch) | |
| tree | 7462403d410712e8741288d3474be9955cd23b20 /addons | |
| parent | 2f3b32c676354f428337b34eeaf9106f09ff2dca (diff) | |
[FIX] ir.qweb: `t-lang` had no effect anymore, e.g. when printing reports
Setting the env of the qwebcontext is not sufficient because the closure
of the `loader` carries its own contexts and lang, so subsequent t-calls
may still use the original language.
This was broken by the new API conversion at commit
4ddc32313996c8cf6e8e6dffd2253aad8a144ccf,
and further broken by the forward-port
6c8141a1dfa9fa44067d052b368e3851972d836cA with a wrongly indented line.
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
