-
- Downloads
[FIX] purchase: no more bold rows when unreaded messages that won't dissapear
Steps to reproduce:
- Install purchase and discuss.
- Go to the purchase list view.
- You will see the purchase lines in bold.
Issue:
The bold lines are supposed to indicate that we have unreaded messages
in the chatter, but they are not working as expected, and instead it is
mixed with discuss, and they bold line won't dissappear until we send a
message in discuss.
Solution:
We removed from the views the "feature" of showing bold lines as it is
not well implemented, and it is not working as expected. This will avoid
confusion for the clients on not knowing what it is for, and when it's
bold or when it's not. Also this feature was removed in future versions.
Extra info:
If you don't have any lines in bold, and you realize they don't appear
when you send messages through the chatter. The easiest way I found to
test it is removing `cp.channel_id = msg.res_id AND ` from the SQL query
in the code inside `_compute_message_unread`. With this you will see the
bold row whenever you send a message in the chatter, but it won't
dissappear when you open the RfQ.
Forward bot up to saas-15.2.
opw-3185071
closes odoo/odoo#113166
Signed-off-by:
William Henrotin (whe) <whe@odoo.com>