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/website/static/src | |
| 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/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/tours/tour_utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website/static/src/js/tours/tour_utils.js b/addons/website/static/src/js/tours/tour_utils.js index 3f817b1f2b0..e200eee37e7 100644 --- a/addons/website/static/src/js/tours/tour_utils.js +++ b/addons/website/static/src/js/tours/tour_utils.js @@ -170,6 +170,7 @@ function clickOnSnippet(snippet, position = "bottom") { function clickOnSave(position = "bottom") { return { trigger: "button[data-action=save]", + in_modal: false, content: _t("Good job! It's time to <b>Save</b> your work."), position: position, }; |
