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

Compute Method: _compute_available_operator_ids

View 20.0
Inputs Method Outputs
+ operators_by_livechat_channel = self._get_available_operators_by_livechat_channel()
+ for livechat_channel in self:
+             livechat_channel.available_operator_ids = operators_by_livechat_channel[livechat_channel]
+             livechat_channel.available_operator_ids_count = len(operators_by_livechat_channel[livechat_channel])
  • available_operator_ids
  • available_operator_ids_count

Back to entity