Friday, March 24, 2023
3 changes · master
Resolved issues and error corrections
This fixes a problem that could cause crashes when users sent messages in the chatter. The change keeps temporary message tracking internal so messages can be matched correctly without disrupting normal business communication.
Original PR description
Since [1], the `temporary_id` of a message is passed to the `message_post` route in order to renconciliate the temporary message on the client side and the real message created by the server. This led to crashes when sending message on the chatter because this parameter was not allowed as a `_notify_thread` parameter. Since this parameter is highly specific and isn't linked to any business/model code, this parameter is now passed via the context thus solving this issue. [1]: https://github.com/odoo/odoo/pull/116085
The mail unread counter now better matches the actual messages users still need to read. This prevents notification-only items from inflating the count and ensures messages are marked as read correctly when a conversation is first opened.
Original PR description
This PR fixes several issues with the unread counter: - Notifications being considered as unread messages (which is not the case on the server side which resulted in inconsistencies). - Counter greater than it should be when the last seen message is not loaded. - Messages not marked as read on first thread opening. task-3239957
Domain rules in the web interface now catch more invalid entries before they can cause problems. This helps users and administrators spot configuration mistakes earlier, reducing errors in filters and field behavior.
Original PR description
We make the class Domain detect more invalid domains.