Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Live Chat

Entity: digest.digest

Compute Method: _compute_kpi_livechat_conversations_value

Inputs Method Outputs
self._raise_if_not_member_of('im_livechat.im_livechat_group_manager')
start, end, __ = self._get_kpi_compute_parameters()
self.kpi_livechat_conversations_value = self.env['discuss.channel'].search_count([
            ('channel_type', '=', 'livechat'),
            ('create_date', '>=', start), ('create_date', '<', end),
        ])

Back to entity