Files
odoo_source/addons/im_livechat/controllers/webclient.py
T
tsm-odoo 20c1772d35 [REF] im_livechat, *: refactor livechat
This PR refactors the public livechat in order for it to use
owl and to rely on the discuss components as much as possible.

task-2212347

closes odoo/odoo#122834

Related: odoo/enterprise#41636
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2023-06-02 22:29:06 +02:00

10 lines
341 B
Python

from odoo.http import Controller, request, route
class WebClient(Controller):
@route("/web/tests/livechat", type="http", auth="user")
def test_external_livechat(self, **kwargs):
return request.render("im_livechat.qunit_embed_suite", {
"server_url": request.env["ir.config_parameter"].get_base_url(),
})