[FIX] website_mass_mailing: fix newsletter popup

When we "Install Newsletter Popup" from website editor
(which installs the 'mass_mailing' app), the snippet popup
doesn't open after setting a Newsletter.

This is because the code at 'website_mass_mailing' module
which has the following config:
    'depends': ['website', 'mass_mailing'],
    'auto_install': True,
Requires 'google_recaptcha.ReCaptchaV3' while 'google_recaptcha'
module is not installed.

The goal of this commit is to fix this issue by setting
'google_recaptcha' as a dependency for the 'website_mass_mailing'
module.

task-2312878

closes odoo/odoo#62715

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
xO-Tx
2021-02-01 16:06:07 +00:00
parent d9492be108
commit d4984b81e6
+1 -1
View File
@@ -10,7 +10,7 @@ On a simple click, your visitors can subscribe to mailing lists managed in the E
""",
'version': '1.0',
'category': 'Website/Website',
'depends': ['website', 'mass_mailing'],
'depends': ['website', 'mass_mailing', 'google_recaptcha'],
'data': [
'security/ir.model.access.csv',
'views/website_mass_mailing_templates.xml',