diff --git a/crock_mass_mailing/__init__.py b/crock_mass_mailing/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/crock_mass_mailing/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/crock_mass_mailing/__manifest__.py b/crock_mass_mailing/__manifest__.py new file mode 100644 index 0000000..adf3bcc --- /dev/null +++ b/crock_mass_mailing/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "CROCK Mass mailing", + "version": "1.0.0", + "summary": """ + """, + "description": """ + """, + "author": "RemiFr82", + "website": "https://remifr82.me", + "license": "AGPL-3", + "category": "Technical", + "depends": [ + "mass_mailing", + ], + "data": [ + # Base data + # "data/ir_model.xml", + # Security + # 'security/res_groups.xml', + # 'security/ir.model.access.csv', + # 'security/ir_rule.xml', + # Views + # "views/res_partner.xml", + # Wizards + # 'wizards/transient_model.xml', + # Reports + # 'reports/report_assets.xml', + # 'reports/report_templates.xml', + # 'reports/sql_view.xml', + ], + # 'assets': { + # 'web.report_assets_common': [ + # 'ffck_color_paddles/static/src/scss/report_pdf.scss', + # ], + # }, + "demo": [], + "auto_install": False, + "external_dependencies": [], + "application": True, + "css": [], + "images": [], + "installable": True, + "maintainer": "RemiFr82", + # "pre_init_hook": "", + # "post_init_hook": "", + # "uninstall_hook": "", +} diff --git a/crock_mass_mailing/models/__init__.py b/crock_mass_mailing/models/__init__.py new file mode 100644 index 0000000..56a19c9 --- /dev/null +++ b/crock_mass_mailing/models/__init__.py @@ -0,0 +1 @@ +from . import mailing_list diff --git a/crock_mass_mailing/models/mailing_list.py b/crock_mass_mailing/models/mailing_list.py new file mode 100644 index 0000000..12342e7 --- /dev/null +++ b/crock_mass_mailing/models/mailing_list.py @@ -0,0 +1,6 @@ +from odoo import models, api + + +class MailingList(models.Model): + _inherit = "mailing.list" + _order = "name, create_date DESC" diff --git a/crock_mass_mailing/static/description/icon.png b/crock_mass_mailing/static/description/icon.png new file mode 100755 index 0000000..a062e1b Binary files /dev/null and b/crock_mass_mailing/static/description/icon.png differ