OdooWiki OCA HUB

Mail Private

mail_private folder_open OCA/social open_in_new
Uncategorised License: AGPL-3

This addon allows to define private groups on models. Then, you can define private messages only visible for members of message groups. Each model may have one or more visible groups.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets you create private message groups so that messages and attachments posted on a record are only visible to members of selected user groups.

This module adds the concept of private messages to Odoo's chatter. Administrators can create "Mail Group" records (menu Email > Mail Group) where they choose a name, the models where the group applies, the user groups allowed to see the messages, and optionally an icon and button label.

On any record that supports the chatter, users who belong to a matching group see extra private send buttons next to the normal Send button. Clicking one posts the message as private for that group. Private messages show a small mask icon in the thread, and hovering over it shows the group name.

Business rules and automatic behaviour: - Messages and attachments linked to a private group are hidden from users who are not members of the group's user groups (record rules on mail.message and ir.attachment). - Private messages are not sent through channels or to partners outside the group; only members receive notifications. - When a private message is posted, its attachments are automatically tagged with the same private group. - The private send option only appears when the current user belongs to at least one group configured for that model.

It touches the chatter on all models, the email composer wizard, message and attachment records, and the model configuration screen where groups can be linked to models.

Depends on

mail

Required by other modules

Models and fields (7)
  • ir.model · extends an existing modelmail_group_ids, private_group_ids
  • res.users · extends an existing modelmessage_group_ids
  • mail.thread · extends an existing modelallow_private
  • mail.message · extends an existing modelmail_group_id
  • ir.attachment · extends an existing modelmail_group_id
  • mail.security.group · new modelicon, name, active, group_ids, model_ids, button_name
  • mail.compose.message · extends an existing modelallow_private

Text generated by AI (DeepSeek) from reading the Odoo 12.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: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 12.0
  • Access in developer mode
  • Access to Settings > Technical > Email > Mail Group
  • Create a new group from on a model that has a thread and specify some security groups
  • Access a record from a model with at least one mail group defined
  • Try to send a message
  • A new button will be added that allows to set the message as private. There will be as many buttons as groups you can use.
  • The message will only be visible by users that are on the group.

No verified information in OCA: Installation.

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.