diff options
| author | Richard Mathot <rim@odoo.com> | 2019-12-24 13:50:23 +0000 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2019-12-24 15:39:03 +0000 |
| commit | e25ea9e665de063f118be27e360abd8df0905bf4 (patch) | |
| tree | df01da367f87fa87f0a0128a16ef3e448f6dc76d /addons/base_setup | |
| parent | 02913c99201da10636576b01b9c2a7b1f1c9fb8c (diff) | |
[FIX] website_mail: prevent crash
`self` is a controller, not a model, thus we use the request to get the
environment.
opw-2160614
closes odoo/odoo#42350
X-original-commit: ac456d8d12bfc26addb3f097aa5552176f6fb765
Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions
