OdooWiki OCA HUB

Mail Partner Opt Out

mail_partner_opt_out folder_open OCA/mail open_in_new
Social Network License: LGPL-3

This module adds the capability for a user to add a partner's email address to the blackmail list so that she will not receive any emails from mass mailing campaigns

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds a button on the contact form that puts the contact's email address on the blacklist, so that person stops receiving mass mailing emails from Odoo.

This module makes it easy to opt a contact out of mass mailings directly from their contact record.

On the contact form, next to the Email field, a small green plus button appears. Any internal user can click it to add that contact's email address to the blacklist. The button is hidden once the contact is already blacklisted, so it cannot be clicked twice.

The action only does something when the contact actually has an email address and is not already blacklisted. When it runs, the email is added to Odoo's blacklist records, which is the same list used by mass mailing campaigns to skip addresses. As a result, that person will no longer receive mass mailing emails.

The module extends the existing blacklist behaviour (mail.thread.blacklist) and adds the button to the standard contact form (res.partner). It does not add new menus or reports; everything happens from the contact screen.

Depends on

mail
Models and fields (1)
  • mail.thread.blacklist · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

Go to a partner. Next to the partner's email address you will see a plus symbol. Once you press it the partner's email address will be blacklisted and then a ban will appear. If you click that ban the email address will be removed from the blacklist.

You can also filter for the Blacklist attribute, to see all the partner's that their email has been added to the blacklist.

No verified information in OCA: Installation, Configuration.

info

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.