Hi,
how i can disable option to edit and delete messages in chatter widget in my module? Im using odoo 18 community edition
Hi,
how i can disable option to edit and delete messages in chatter widget in my module? Im using odoo 18 community edition
You can setup an Automation Rule like this:

for record in records:
if record.create_date != record.write_date:
raise UserError('Editing/Deleting Chatter Messages has been disabled!')
The rule would be define on the mail.message model, with the trigger Create and Edit. When updating would be left blank. The if statement on line 2 ensures that the rule only runs on edits / updates / deletions and not the creation of new messages.
Hello Damian Bielecki,
To disable the delete and edit buttons in the chat, please refer to the following link:
https://www.odoo.com/vi_VN/forum/support-1/avoid-deleting-log-note-270866
If you have any questions or need further assistance, feel free to reach out.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
1
de jul. 25
|
2495 | |||
|
2
de nov. 24
|
6850 | |||
|
1
de març 26
|
1549 | |||
|
Change chatter size?
Solved
|
1
de març 26
|
5396 | ||
|
0
de des. 25
|
75 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.