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

Module: Timesheets - Day of Week

Entity: account.analytic.line

Compute Method: _compute_week_day

Inputs Method Outputs
  • date
for record in self:
            week_day = record.date.weekday()
            record.day_week = str(week_day)

Back to entity