diff options
| author | Olivier Dony <odo@odoo.com> | 2021-01-07 17:13:08 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2021-01-07 17:50:49 +0000 |
| commit | 26355a6bf83a194c2e398e859e49920da1f415b8 (patch) | |
| tree | 0f266f14e359f3b9cf106ee5aac811c895da2977 /doc/python3.rst | |
| parent | 7331b404bff7f803299a3bfddcf0bd3d040f2cd8 (diff) | |
[FIX] website: repair "overwrite" mode for translation wizard
In the context of bug #43365, the fix merged in #48031 introduced an
override of `ir.translation._load_module_terms()`, which calls `super()`
then does some extra stuff.
This was forward-ported to later versions, unfortunately the
forward-ports missed the fact that the method signature changed at some
point (circa saas-13.2) and the `overwrite` flag which used to be passed
in the `context` had become an explicit method argument.
As a result, that argument is lost in the `super()` call and the
`website` module entirely disables the "overwrite" mode for the
translation loading wizard.
The fwd-port that seems to introduce the issue is odoo/odoo#50477 (998987f8ee148235f4025eb97a424e838ac6fc9f)
closes odoo/odoo#64231
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
