Files
odoo_source/addons/mail/static/tests
Sébastien Theys 64c6f731cb [FIX] mail: ignore obsolete chat window state received from bus
This fixes flickers in situations where:
- close (manually): notify
- open (manually): notify
- close (from bus)
- open (from bus)
The final state is correct, but it does one extra close and open.

With this fix, it becomes
- close (manually): notify
- open (manually): notify
- (close from bus ignored)
- (open from bus ignored)

Note: the fix is aimed towards fixing issues within the tab making the
manual change, which is the most common use case. Other tabs are not
considered visible at the time of the change, making the flicker
irrelevant, which is convenient to ignore as fixing it would require
more advanced mechanism.

runbot-24379
runbot-24994

closes odoo/odoo#136698

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2023-09-28 01:51:38 +00:00
..