Mass Mailing Contact Active

mass_mailing_contact_active
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/16.0/mass_mailing_contact_active
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMarketing/Email Marketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Minh Chien
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mass_mailing
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - utm
    - link_tracker
    - web_editor
    - web_kanban_gauge
    - social_media
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • active Boolean
    default=True
Public methods (1)
  • write(self, values)

New fields (1)
  • active Boolean
    default=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/13.0/mass_mailing_contact_active
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYMarketing/Email Marketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mass_mailing
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - utm
    - link_tracker
    - web_editor
    - web_kanban_gauge
    - social_media
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • active Boolean
    default=True
Public methods (1)
  • write(self, values)

New fields (1)
  • active Boolean
    default=True
Public methods (1)
  • init(self)
    Add default value in DB for active column. Model mailing.contact.subscription is persisted using database table mailing_contact_list_rel. This model is used for following O2m fields: - mailing.list.subscription_ids - mailing.contact.subscription_list_ids However it is also used to materialize a M2m relation on following fields: - mailing.list.contact_ids - mailing.contact.list_ids If records are added using O2m fields, the ORM will properly get the default value defined for the active field before inserting in the table. However, if records are added using M2m fields, the ORM will only use the foreign keys to insert since it's an associative table. By defining a TRUE value as default for active field, we ensure the records added using the M2m fields will be active by default.