Purpose ======= Allow to customize the domain name of the Jitsi server used to create chat room on website. This is done with an `ir.config_parameter`. Task-2316718 closes odoo/odoo#55869 Related: odoo/upgrade#1618 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
13 lines
503 B
Python
13 lines
503 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
jitsi_server_domain = fields.Char(
|
|
'Jitsi Server Domain', default='meet.jit.si', config_parameter='website_jitsi.jitsi_server_domain',
|
|
help='The Jitsi server domain can be customized through the settings to use a different server than the default "meet.jit.si"')
|