This module links mass_mailing with event in order to exclude recipients that are already registered, confirmed, cancelled, attended, or a combination of these states, when the mass mailing is sent.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Link mass mailing with events so that people already registered for an event can be automatically left out of the mailing. On a mailing you pick the event and which registration statuses to exclude.
This module connects mass mailing with events. On the mailing form (Email Marketing), a new group appears above the content tabs where you choose the related event and the registration statuses to exclude.
- The 'Event related' field links the mailing to one event.
- The 'Exclude' field lists registration statuses (Unconfirmed, Cancelled, Registered, Attended) and is pre-filled with all of them, so by default everyone already registered in any status is skipped.
- The exclusion list only shows once an event is selected.
When Odoo builds the recipient list, it looks up registrations for the chosen event whose status is in the excluded list, collects their email addresses, and removes those addresses from the mailing recipients. The same filtering is applied to the recipient counter shown in the mailing, so the number of recipients reflects the exclusions.
The module also adds a small reference table of event registration statuses and makes the event registration, mailing contact and contact (partner) records aware of this exclusion logic. It touches mailing.mailing, event.registration, mailing.contact and res.partner.
Depends on
Models and fields (6)
- res.partner · new model
- mailing.contact · new model
- mailing.mailing · extends an existing modelevent_id (Event related), exclude_event_state_ids (Exclude)
- event.registration · new model
- event.registration.state · new modelcode, name
- mailing.search.exclude.mixin · new model
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/mass-mailing.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0In a mass mailing, users can set an event related and exclude the recipients who have an email address already registered in that event.
This is useful in this scenario:
- Create a mass mailing for telling to 1000 partners that a new event
is available. 2. During a week some of them (50) have been registered in the event 3. Then, a week after the first mass mailing, duplicate it to get a second mass mailing. Relate this one to the event and exclude the registered emails. Change the message body to remember that early bird period is going to expire soon. 4. Send the second mass mailing and registered emails are automatically excluded, So it's been only sent to 950 partners the ones who are not registered in the event yet.
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.