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_week_day

View 20.0
Inputs Method Outputs
  • create_date
+ for channel in self:
+             channel.livechat_week_day = str(channel.create_date.weekday())
  • livechat_week_day

Back to entity