Files
odoo_source/addons/website_livechat/static
tsm-odoo 60a15b0072 [FIX] website_livechat: fix livechat request tour
Before this PR, the website_livechat request tour would fail
in an indeterministic fashion. This was due to the fact that
the message that was supposed to be sent through the bus was
directly given to the message notification handler.

The second message could or could not be received according to
the timing of the channel subscription. Indeed, the listen/notify
mechanism is not activated during test, but the subscribe method
directly fetches notifications from database and return them through
the bus.

In order to solve this issue, let's rely solely on the bus instead
of directly calling the message notification handler.

closes odoo/odoo#103590

X-original-commit: 8964453597fb01161791b2b2064f45efa42277a6
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2022-10-19 21:46:55 +02:00
..