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

Module: Field Service Route

Entity: fsm.route.dayroute

Compute Method: _compute_date_start_planned

Inputs Method Outputs
for rec in self:
            if not rec.date:
                rec.date_start_planned = False
                continue
            rec.date_start_planned = rec._planned_start_from_date(
                rec.date,
                person=rec.person_id or rec.route_id.fsm_person_id,
                route=rec.route_id,
                team=rec.team_id,
            )

Back to entity