OdooWiki OCA HUB

Mail Activities: log on unlink

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

This addon enforces the creation of a message when an activity is unlinked. This change tries to avoid a possible bad practice of deletion of an activity without notifying the deletion.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When a scheduled activity is deleted, Odoo automatically posts a message on the related record saying which activity was removed, who it was assigned to and its original note.

This module adds an automatic trace when activities are deleted, so nothing disappears silently from a record's history.

  • Whenever an activity is unlinked (deleted) from a record, a message is posted on that record's chatter. The message shows the activity type and icon, the activity summary, and, if the activity was assigned to someone other than the person deleting it, the name of the original assignee.
  • If the activity had a note, the message also includes the original note text under a "Original note:" heading.
  • The message is posted under a new internal message subtype called "Activities unlink", so it can be filtered in the chatter.
  • Deleting the parent record itself does not trigger these messages: the module skips the log when the deletion comes from the record's own removal, and also when an activity is completed through the normal done action.

It touches the activity model mail.activity and the activity mixin mail.activity.mixin, so the behaviour applies to every Odoo record that supports activities (sales orders, contacts, projects, etc.). There are no new menus or screens; everything happens in the existing chatter of the record.

Depends on

mail
Models and fields (2)
  • mail.activity · extends an existing model
  • mail.activity.mixin · extends an existing model

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.