Browse Source

[ADD] crock_mass_mailing

16.0
RemiFr82 7 months ago
parent
commit
ce82ce4cc8
  1. 1
      crock_mass_mailing/__init__.py
  2. 49
      crock_mass_mailing/__manifest__.py
  3. 1
      crock_mass_mailing/models/__init__.py
  4. 6
      crock_mass_mailing/models/mailing_list.py
  5. BIN
      crock_mass_mailing/static/description/icon.png

1
crock_mass_mailing/__init__.py

@ -0,0 +1 @@
from . import models

49
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": "",
}

1
crock_mass_mailing/models/__init__.py

@ -0,0 +1 @@
from . import mailing_list

6
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"

BIN
crock_mass_mailing/static/description/icon.png

After

Width: 1024  |  Height: 1024  |  Size: 174 KiB

Loading…
Cancel
Save