*: im_livechat, web. Since [1] the messaging service is added to the livechat embed bundle. As a consequence, the bus service is started even when it is not needed. This is wrong since it would lead to lots of useless connections to be made. This PR prevent mail services from starting the bus eagerly in this context and adds a tour in order to prevent further errors on this matter. closes odoo/odoo#130059 X-original-commit: b2bcef3c3b57061ef0694a5fc3c326cc8babc818 Related: odoo/enterprise#44782 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
9 lines
312 B
Python
9 lines
312 B
Python
from odoo import tests
|
|
from odoo.addons.website_livechat.tests.common import TestLivechatCommon
|
|
|
|
|
|
@tests.tagged("-at_install", "post_install")
|
|
class TestBusLazyFrontendBus(tests.HttpCase, TestLivechatCommon):
|
|
def test_bus_not_started(self):
|
|
self.start_tour("/", "website_livechat.lazy_frontend_bus")
|