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: discuss.channel

Compute Method: _compute_livechat_start_hour

Inputs Method Outputs
  • create_date
  • create_date.hour
for channel in self:
            channel.livechat_start_hour = channel.create_date.hour

Back to entity