Provides a method to use on mail templates to select contacts by their categories.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Lets you tag contacts with custom mail contact types and use those tags to pick recipients in email templates. You can also search and filter contacts by these types.
This module adds a new concept called Mail Contact Type, which is a simple label with a name and a unique code. You manage these types from the Contacts app under Configuration > Mailing > Contact types.
On each contact (res.partner), a new field Mail Contact Types lets you attach one or more of these types. The field appears on the contact form, in the address kanban and form inside the contact addresses page, and as an optional column in the contact list. You can also filter contacts by these types in the search bar.
When you write an email from the email composer, the recipient selector shows the contact types next to contact names, so you can quickly identify who is who. The module also provides a helper that email templates can use to automatically select contacts by type codes, for example all customers that are also accounting contacts, or all suppliers. The code of each type must be unique, and the module is available to all internal users.
Depends on
Menus it adds
Models and fields (2)
- res.partner · extends an existing modelmail_contact_type_ids (Mail Contact Types)
- mail.contact.type · new modelcode, name
Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/social.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0In the Contacts > Configuration > Mailing > Contact type you can create mail contact type.
A mail contact type is defined by a name that will be displayed in the backoffice and a code that will be used to find contacts related to this type.
Then, you will need to define the mailing types for contacts. To achieve this there is a field called Mail Contact Types into the contact form view.
Last, to select proper contacts from email template configuration, you will set the To (partner) field using jinja template like this (assuming object as a field partner_id): ${object.partner_id.contact_by_types('your_code1','your_code2')}
No verified information in OCA: Installation, Configuration.
Installation 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.