Repository
OCA/social · module folder · Try on Runboat
Module version
1.0.0
Category
Mail
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/social
Last tracking update
2026-08-07 07:57:08
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Thierry Ducrest, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_configuration_mail_parent_recipient mail.parent.recipient.config.settings res.config.settings form Inherits mail.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.