Chatter Message Control - Edit Message, Delete Messages, Message Edit History
by Modvanta https://modvantaapps.tech/$ 6.98

Chatter Message Control for Odoo 19
Out of the box, Odoo lets the author fix or delete a message and nobody else, with no limit in time and no trace of what it said before. This module puts you in charge of that: who may edit, who may delete, for how long, on which documents. Every change is kept, so you can always see the old text.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Small module, one job: decide what can change in the chatter and keep the record.
Rules per group Edit own messages, edit other people's messages, delete own, delete others. Four separate switches, given to the user groups you choose. | Messages, notes, logs, emails Pick what a rule covers: messages sent to followers, internal notes, logged lines such as activity feedback, or incoming emails. | Time window "Own notes can be fixed for 30 minutes" is one rule. After that the Edit button is gone and the server refuses the change. |
Lock rules Block editing and deleting on chosen documents, or once a message is a day old. A lock also stops administrators, which is the point for audits. | Edit history Every edit stores the text, subject and files before and after, who did it and when. Click the "edited" mark in the chatter to read it. | Deletion log A deleted message keeps its text and its files in the log. In the thread it can show "This message was deleted by ..." or disappear, your choice. |
Who it is for
Teams that use notes as the record of a deal or a case: sales, support, purchasing, HR. A typo should be easy to fix. Quietly rewriting what was promised to a customer last week should not be. If an auditor or a manager ever asked you "what did this note say before?", this is for you.
See it working
All screenshots come from a plain Odoo 19 database with CRM and this module.
The chatter after an edit and a delete
The note about 45 units was edited by its author and carries the "edited" mark. The note above it was deleted by a manager, and the thread now says who deleted it and when.

Buttons follow the rules
The message menu shows Edit History, Edit in Full Editor and Delete only when the rules allow it for the person looking. A user who may not delete a message simply has no Delete button.

Edit history with before and after
Opened from the menu or by clicking the "edited" mark. Each change shows the old and the new text side by side, with the name of the person who made it.

Full editor (optional)
Change the subject, use formatting, add or remove files. Removed files are kept in the history, not thrown away.

Rules
Two default rules give the same rights as standard Odoo, so nothing changes on install. Add your own next to them: allow rules in normal text, lock rules in red.

One rule
Here sales managers may edit and delete any internal note on leads, with no time limit. Leave Documents empty to cover every model, Discuss channels included.

Edit History menu
Discuss -> Chatter Control -> Edit History lists every edit with the document, the author and the person who changed it. Group it by user or by model.

One edit in detail
Before and after, with the subject, the files and a button to open the document.

Deletion log
The text of the deleted note is still there for the people allowed to read it.

Settings
Make the rules apply to administrators too, choose what a deleted message leaves behind, who can read the edit history, and whether recipients get an email when a message changes.

How it works
1 | Install Nothing changes yet. The default rules match standard Odoo: people edit and delete their own messages and notes. |
2 | Adjust the default rules Add a time window, untick Delete, or limit them to some documents. |
3 | Add rules for supervisors For example "Support leads may fix any note on tickets". |
4 | Lock what must not move Invoices, signed orders, anything older than a week. |
5 | Read the trail Click "edited" in the chatter, or open Discuss -> Chatter Control. |
Good to know
- The server checks the rules on every save: the chatter, Discuss, the portal and direct API calls on mail messages. Hiding a button is never the only protection.
- Lines with tracked field changes ("Stage: New -> Won") can never be edited, as in standard Odoo.
- The history follows the rights on the message. Someone who cannot read a direct chat or an internal note cannot read its history either, managers included.
- Website visitors and guests keep the standard behaviour.
- Without a matching allow rule a user cannot edit or delete anything. Portal users need a rule that names the Portal group (one is included).
- The history and the deletion log are read-only. Nobody can change or delete them from the screen.
FAQ
Compatibility
Odoo 19.0, Community and Enterprise, on premise and Odoo.sh. Depends only on Discuss (mail) and Portal, both part of every database.
Support
Questions before you buy, a problem after, a rule you cannot express: write to modvantaapps@gmail.com. We answer every email.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1064 |
| Technical Name |
mdv_chatter_message_control |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module