diff options
| author | Paul Morelle <pmo@odoo.com> | 2020-06-24 11:49:58 +0000 |
|---|---|---|
| committer | Paul Morelle <pmo@odoo.com> | 2020-06-24 16:06:11 +0000 |
| commit | f463983cf9743c57e5f39fa04cc02a2a8c9a58a4 (patch) | |
| tree | ab81a4db21787284328b8a0e5d6929d886f453c5 /addons/web/static/src | |
| parent | 5e888f8a6ccf9996b3231db6bf314d045619109e (diff) | |
[FIX] website: fix semantics of MockRequest
We should push the request object on the request stack only in the
__enter__ method, in order to be symmetrical with the __exit__ method.
closes odoo/odoo#53613
X-original-commit: 30e94d305f9cffa816ddc213e0b9329c0263c145
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
