diff options
| author | qsm-odoo <qsm@odoo.com> | 2021-01-29 11:27:02 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2021-02-03 10:55:19 +0000 |
| commit | 82b188a090aa34c258840343cbf594969489dd6b (patch) | |
| tree | 53e653f51818a765643b5bf8a9a6f947fd70bfe8 /addons/web/static/src/js | |
| parent | 0311cffd89c375a6fc1babacaa19029776bfebfb (diff) | |
[FIX] website_mass_mailing, *: add fix for missing google_recaptcha
*: website
In 14.0, the website_mass_mailing now uses ReCaptcha. The problem is
that we forgot to add the related module as a dependency. It thus
works on runbot because it is indirectly installed by other apps but
the newsletter popup does not work anymore if only website_mass_mailing
is installed.
In master, we simply fixed the dependency. For 14.0, we use this
workaround as a fix: if the recaptcha is not installed as not found in
the list of services in odoo.__DEBUG__, then we make sure the newsletter
popup work without it. In edit mode, we now also display a warning which
allows to fix the issue directly (by installing recaptcha).
closes odoo/odoo#65263
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
