Skip to content

[16.0][ADD] mail_message_view: list the chatter messages in a menu - #247

Open
smorita7749 wants to merge 1 commit into
OCA:16.0from
qrtl:16.0-add-mail_message_view
Open

[16.0][ADD] mail_message_view: list the chatter messages in a menu#247
smorita7749 wants to merge 1 commit into
OCA:16.0from
qrtl:16.0-add-mail_message_view

Conversation

@smorita7749

@smorita7749 smorita7749 commented Aug 12, 2026

Copy link
Copy Markdown

This module lists the chatter messages in a dedicated Discuss > Message History
menu, where they can be searched, filtered and grouped.

The chatter mixes the messages posted by users with the ones logged by the system
(field tracking, automated notifications), which makes a long history tedious to
follow. On top of that, the tracked field changes are only readable from the
chatter, as tracking_value_ids is restricted to base.group_system.

The list therefore shows, as plain text, a preview of the message body and a
summary of the tracked field changes, e.g. Status: RFQ -> Purchase Order, and
provides filters telling the messages posted by users apart from the ones logged
by the system.

Notes:

  • the views are variants of the standard message views (inherited in primary
    mode), so the standard Messages list is left unchanged;
  • a button opening the list for a single record is added on the form views of the
    models listed in the mail_message_view.button_models system parameter;
  • the menu is restricted to a dedicated group, as listing the messages of every
    document is an expensive query.

Targeting 16.0 as this is the series where the module is used, but I am happy to
forward-port it first if maintainers prefer new modules to land on the latest
branch.

This is a new module of about 1000 lines, which is above the 500 lines of the OCA
metrics red lines. Please let me know how you would like to proceed with the
review.

Assisted-by: Claude Opus 5

@qrtl QT7086

@smorita7749
smorita7749 force-pushed the 16.0-add-mail_message_view branch from e15eb3e to e0667aa Compare August 12, 2026 08:11
The chatter mixes the messages posted by users with the ones logged by the
system, so following a long history is tedious, and the tracked field changes
are only readable from the chatter itself, as tracking_value_ids is restricted
to base.group_system.

This module lists the messages in a dedicated menu, where they can be searched,
filtered and grouped, with a plain text preview of the body and a summary of the
tracked field changes. A button opening the same list for a single record can be
added on the form views of the wanted models.

Assisted-by: Claude Opus 5
@smorita7749
smorita7749 force-pushed the 16.0-add-mail_message_view branch from e0667aa to 448c939 Compare August 12, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_message_view Module mail_message_view series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants