Repository
OCA/social · module folder · Try on Runboat
Module version
1.1.0
Category
Social Network
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/social
Last tracking update
2026-08-07 08:23:03
Authors
Odoo Community Association (OCA)
Maintainers
Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Andreu Orensanz
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
This module introduces a "Mark as Unread" button for messages in the History mailbox and Search results of the Discuss App.
When done the message is restored back to the Inbox, just like if it were a new unread message, and disappears from the History mailbox.

The button is also available in the Search Messages panel (accessible via the search icon in Discuss), allowing users to mark any searched message as unread directly from the search results.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • set_message_undone(self)
    Reverses the effect of set_message_done() by: - Setting is_read to False on the notification - Moving the message from History back to Inbox - Updating the needaction counter
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
42 days ago
Last activity
42 days ago
Repository
OCA/social
Pull request
[19.0][MIG] mail_history_mark_unread: Migration to 19.0 (#1882)