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

Module: Automation Oca

Entity: automation.configuration

Compute Method: _compute_next_execution_date

Inputs Method Outputs
for record in self:
            if record.state == "periodic":
                record.next_execution_date = self.env.ref(
                    "automation_oca.cron_configuration_run"
                ).nextcall
            else:
                record.next_execution_date = False

Back to entity