OdooWiki OCA HUB

Mail Discuss Channel Unread Sort

mail_discuss_channel_unread_sort folder_open OCA/social open_in_new
Discuss License: AGPL-3

This module changes the ordering of channels in the Discuss sidebar.

Unread channels are placed before read channels. Inside the unread group, channels are ordered by most recent activity so the latest channel with new messages is shown first.

Read channels keep the standard alphabetical ordering from Odoo.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Changes the order of channels in the Discuss sidebar so channels with unread messages appear first, with the most recently active unread channel at the top. Read channels keep their normal alphabetical order.

This module only affects the Discuss sidebar in Odoo, specifically the "Channels" category. It does not add any new screens, menus, buttons or settings; it changes how the existing channel list is sorted.

What changes for users:

  • Channels that contain unread messages are moved above channels that have no unread messages.
  • Among the unread channels, the one with the most recent activity (the latest message or the latest time the user was interested in the channel) is shown first, so new conversations are easy to spot.
  • Channels without unread messages keep the standard ordering used by Odoo, which is alphabetical.

The rule is applied only to the channel category; other Discuss categories such as direct messages are left untouched and continue to use Odoo's default sorting. The module works by extending the existing Discuss channel category behaviour in the web client, so no database fields or server-side models are added or modified. It depends on the standard mail module and is installed as a normal Odoo app.

Depends on

mail

Text generated by AI (DeepSeek) from reading the Odoo 17.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 17.0

Install the module and open Discuss.

When a channel receives unread messages, it moves to the top of the Channels section. If several channels are unread, the most recently updated one is shown first.

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.