Mail parent recipient

mail_parent_recipient
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/15.0/mail_parent_recipient
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMail
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSThierry Ducrest, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_configuration_mail_parent_recipient mail.parent.recipient.config.settings res.config.settings xpath Inherits mail.res_config_settings_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • generate_recipients(self, results, res_ids)
    Use partner's parent email as recipient. Walk up the hierarchy of recipient partners via `parent_id` and pick the 1st one having an email.

New fields (1)
  • use_parent_mail_address Boolean
    config_parameter='mail.use_parent_address' help="\n When checked, for partner without eamil the system will try\n to use the email address of the partner's parent.\n "
Public methods (0)

No public methods.