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>
10 lines
341 B
Python
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(),
|
|
})
|