Deltatech Product Chatter
by Terrabit https://www.terrabit.ro , Voicu Stefan https://www.terrabit.ro
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 37 |
| Technical Name |
deltatech_product_chatter |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 37 |
| Technical Name |
deltatech_product_chatter |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
| Versions | 17.0 18.0 |
Deltatech Product Chatter

Deltatech Product Chatter
Restrict deletion (and emptying) of chatter messages on Product Template and Product Variant unless the user belongs to a dedicated security group.
What it does
- Blocks deleting product-related chatter messages from the UI (the chatter “Delete” action).
- Blocks direct record deletions of mail.message linked to products (e.g., via ORM/RPC, scripts, or third‑party modules) when the user lacks the group.
How it works
- UI delete path: overrides the product models’ _check_can_update_message_content to require the special group before allowing message content updates (including clearing the body to “delete”).
Security
- Group: Delete Product Chatter Messages
- XML ID: deltatech_product_chatter.group_delete_product_chatter
- Assign this group only to trusted users who are allowed to delete or edit chatter messages on products.
Usage
- Install the module.
- Assign the group to authorized users: Settings → Users & Companies → Users → Access Rights → “Delete Product Chatter Messages”.
- Test on a product form’s chatter:
- Without the group: deletion/edit of messages is blocked with an error.
- With the group: deletion/edit behaves as usual.
Compatibility
- Odoo 17.0
- Depends on product and mail.
Notes
- Restriction applies only to messages on product.template and product.product. Other models are unaffected.
- No data is modified beyond preventing unauthorized deletions/edits of product chatter messages.
Table of contents
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Voicu Stefan
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
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