Files
odoo_source/addons/website_mass_mailing/__manifest__.py
T
Romain Derie 8873fe7240 [IMP] (website)_mass_mailing: make newsletter popup use popup snippet
Before this commit, the newsletter popup was using its own mechanism instead of
the popup snippet, making a lot of extra code.

Now, the newsletter popup snippet just use the behavior of both the popup
snippet and the newsletter snippet.

Community: https://github.com/odoo/odoo/pull/74667
Upgrade: https://github.com/odoo/upgrade/pull/2742
task-2246975
2021-08-20 12:05:06 +00:00

37 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Newsletter Subscribe Button',
'summary': 'Attract visitors to subscribe to mailing lists',
'description': """
This module brings a new building block with a mailing list widget to drop on any page of your website.
On a simple click, your visitors can subscribe to mailing lists managed in the Email Marketing app.
""",
'version': '1.0',
'category': 'Website/Website',
'depends': ['website', 'mass_mailing', 'google_recaptcha'],
'data': [
'views/snippets/s_popup.xml',
'views/snippets_templates.xml',
],
'auto_install': ['website', 'mass_mailing'],
'assets': {
'web.assets_frontend': [
'website_mass_mailing/static/src/scss/website_mass_mailing_popup.scss',
'website_mass_mailing/static/src/js/website_mass_mailing.js',
],
'website.assets_wysiwyg': [
'website_mass_mailing/static/src/js/wysiwyg.js',
'website_mass_mailing/static/src/js/website_mass_mailing.editor.js',
],
'web.assets_tests': [
'website_mass_mailing/static/tests/**/*',
],
'web.assets_qweb': [
'website_mass_mailing/static/src/xml/*.xml',
],
},
'license': 'LGPL-3',
}