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

View 18.0
Inputs Method Outputs
  • state
- 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
  • next_execution_date

Back to entity