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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
Change text of Log Note Button
Opgelost
|
1
jul. 25
|
2533 | ||
|
2
nov. 24
|
6859 | |||
|
1
mrt. 26
|
1562 | |||
|
Change chatter size?
Opgelost
|
1
mrt. 26
|
5411 | ||
|
0
dec. 25
|
75 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.