This module will check the recipients of an outgoing email. If a recipient has no email address set, it will use the parent's partner (if it has an email address) as recipient.
A setting named Use Parent Mail Address is available in the Discuss section of the general settings page.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Adds a Discuss setting that makes Odoo send emails to a contact's parent company email when the contact itself has no email address.
This module adds one option to Odoo's email behaviour: when a contact has no email address, Odoo can fall back to the email of its parent company instead of skipping that recipient.
Where it appears: - A new checkbox "Use Parent Mail Address" is added to the Discuss section of the General Settings page (Settings > General Settings > Discuss).
What it changes:
- When the checkbox is enabled, email templates (mail.template) that generate recipients will look at each recipient contact. If the contact has an email, it is kept. If not, Odoo walks up the contact's company hierarchy and uses the first parent company that has an email address.
- If the parent company is already among the recipients, it is not added twice.
- When the checkbox is off, nothing changes and contacts without an email are simply left out.
- The behaviour can also be skipped in specific code contexts, so other parts of Odoo can still send emails without this fallback.
Business effect: - Fewer emails are lost when contacts are created without their own email but belong to a company that has one. - It only affects recipient selection for outgoing template-based emails; it does not create, modify or merge contacts, and it does not send anything by itself.
Depends on
Models and fields (2)
- mail.template · extends an existing model
- res.config.settings · extends an existing modeluse_parent_mail_address
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/social.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.