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

Module: Transport

Entity: tms.order

Compute Method: _compute_scheduled_date_end

Inputs Method Outputs
for record in self:
            if record.scheduled_date_start:
                record.scheduled_date_end = record.scheduled_date_start + timedelta(
                    hours=record.scheduled_duration
                )

Back to entity