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: im_livechat.channel.member.history

Compute Method: _compute_call_duration_hour

Inputs Method Outputs
for history in self:
            history.call_duration_hour = sum(history.call_history_ids.mapped("duration_hour"))

Back to entity