OdooWiki OCA HUB

Attachment Logging

attachment_logging folder_open OCA/server-tools open_in_new
Hidden/Tools License: AGPL-3

This module shows attachment information in chatter. Following data is displayed:

  • User, who has created the attachment
  • Attachment creation date

It also allows to log attachment related actions in the record chatter.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Shows who uploaded each attachment and when, directly in the chatter attachment preview, and can post a note in the record's chatter whenever a file is added or removed.

This module enriches the chatter (the message history on records) with information about attachments.

  • In the attachment preview inside chatter, each file now displays the name of the user who uploaded it and the upload date, both for images and for other file types.
  • A new option "Attachment Logging" appears in the General Settings, in the email/chatter settings block. When switched on, Odoo automatically posts a note in the record's chatter each time a file is attached or deleted, for example "John attached a file: invoice.pdf".
  • These automatic notes use a dedicated message type called "Attachments", which is internal and not selected by default, so followers are not flooded unless they choose to follow this type.
  • The logging only happens on records that support chatter (records that can receive messages); files attached elsewhere are ignored.
  • The setting is stored as a system parameter, so it applies to the whole database.

The module touches attachments (ir.attachment), the settings screen (res.config.settings) and the chatter message types. Nothing changes on records until the option is enabled.

Depends on

mail
Models and fields (1)
  • res.config.settings · extends an existing modeluse_attachment_log

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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/server-tools.

terminal Installation and usage

OCA documentation · Odoo 17.0

To enable note logging of attachment operations in record chatter:

  • Go to "Settings \> General Settings" and scroll to the "Discuss" section.
  • Activate the "Attachment Logging" checkbox.

Create date and user are displayed next to attachments in chatter. When attachment is added or removed a note is logged in chatter if the corresponding option is enabled in the General Settings.

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.